+ Reply to Thread
Page 1 of 4 123 ... LastLast
Results 1 to 10 of 34

Thread: need php help

  1. #1
    NewFuture's Avatar
    NewFuture is offline x10 Elder NewFuture is an unknown quantity at this point
    Join Date
    Apr 2005
    Location
    Uk- England
    Posts
    829

    need php help

    if you are good with php plz contact me through msn, or AIM:

    bendurham90@hotmail.com

    stuartdurham15

    as i urgently need your help

  2. #2
    Mani5 is offline x10 Lieutenant Mani5 is an unknown quantity at this point
    Join Date
    Sep 2005
    Posts
    473

    Re: need php help

    I m gud but not wid scripts........



    ---------------------------------------------------------------------
    Advertising

    Spectre Productionz

    Symbionic

    Want your site here? PM me and 5 points a week.

  3. #3
    motogawa's Avatar
    motogawa is offline x10 Sophmore motogawa is an unknown quantity at this point
    Join Date
    Oct 2005
    Location
    Indianapolis, IN
    Posts
    153

    Re: need php help

    I'm good with php and all
    PHP, AJAX, SQL, Javascript Programmer!
    Need help ask me!

  4. #4
    Bryon is offline Administrator Bryon has disabled reputation
    Join Date
    Apr 2005
    Location
    Northfield, NH
    Posts
    7,608

    Re: need php help

    Ask for help you need in the forums, so you can be answered and maybe even others will learn from it.

    I thought about messaging you on AIM, but, like I said, post in here first. I'm willing to help.

  5. #5
    NewFuture's Avatar
    NewFuture is offline x10 Elder NewFuture is an unknown quantity at this point
    Join Date
    Apr 2005
    Location
    Uk- England
    Posts
    829

    Re: need php help

    its complicated, my friends owns a flash site, and on the links to his flash games instead of directing to the actual game he uses some kind of php 'thing' which hides url but loads the game (see link)

    hes got HISWEBSITE/game.php?type=puzzle&game=aqua&height=400&width=55 0

    and not the actual url, he told me its some kind of php script, could someone help me make my site work like that? so the location of the game isnt been show but the php link instead.

  6. #6
    Mani5 is offline x10 Lieutenant Mani5 is an unknown quantity at this point
    Join Date
    Sep 2005
    Posts
    473

    Re: need php help

    ...I dont got an idea but chk hotscripts.com......



    ---------------------------------------------------------------------
    Advertising

    Spectre Productionz

    Symbionic

    Want your site here? PM me and 5 points a week.

  7. #7
    motogawa's Avatar
    motogawa is offline x10 Sophmore motogawa is an unknown quantity at this point
    Join Date
    Oct 2005
    Location
    Indianapolis, IN
    Posts
    153

    Re: need php help

    You could use the switch function which you can look up here

    http://us3.php.net/manual/en/control...res.switch.php
    PHP, AJAX, SQL, Javascript Programmer!
    Need help ask me!

  8. #8
    Bryon is offline Administrator Bryon has disabled reputation
    Join Date
    Apr 2005
    Location
    Northfield, NH
    Posts
    7,608

    Re: need php help

    Ok.. So what exactly do you want to know? Where the games truly are? All that is, is a way to show any game in the one script, depending on the values of the variables in the URL.

  9. #9
    ak007's Avatar
    ak007 is offline x10 Sophmore ak007 is an unknown quantity at this point
    Join Date
    Jun 2005
    Location
    127.0.0.1
    Posts
    108

    Re: need php help

    Ahh I Know What he Means Maybe He Wana Hide Real SWF And Make The Page A Little Bit Dynamic By Passing Var From Th Query String It Would me Much Better If You Use database But Without Db here How It looks Like :

    PHP Code:
    <?php
    if(empty($_GET[name]) || empty($_GET[width]) || empty($_GET[height]) || empty($_GET[quality])){
    echo 
    "Direct Access not Allowded!";
    exit;
    }
    //here Come Some Config Stuff
    //Replace With Your Site Url With Directory With trailing Flash!!!!!
    $basedir "http://yoursite.com/flashfiles/";
    ?>
    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="<?=$_GET[width]?>" height="<?=$_GET[width]?>" id="Game" align="middle">
    <param name="movie" value="<?=$basedir.$_GET[name]?>.swf" /><param name="quality" value="<?=$_GET[quality]?>" /><param name="bgcolor" value="#ffffff" /><embed src="<?=$basedir.$_GET[name]?>.swf" quality="<?=$_GET[quality]?>" bgcolor="#ffffff" width="<?=$_GET[width]?>" height="<?=$_GET[width]?>" name="Games" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
    Note :
    The URL MUST Look Like This !:
    hxxp://site.com/anypgate.php?name=main&width=800&height=400&qualit y=high

    And You Must Upload All You SWF File To The Directory You Specified Above FOR Example
    If The name of your swf file you upload is mafia.swf then you must pass the name in the address barlike this:
    hxxp://site.com/anypgate.php?name=mafia&width=800&height=400&quali ty=high

    Without The .swf!! Comments And Questions are welcomed !!
    And Don't Expect So much From That Script Ive Made It Within 3 minutes ;)
    Last edited by ak007; 10-08-2005 at 02:04 PM.





  10. #10
    NewFuture's Avatar
    NewFuture is offline x10 Elder NewFuture is an unknown quantity at this point
    Join Date
    Apr 2005
    Location
    Uk- England
    Posts
    829

    Re: need php help

    yes great thanx, and no i dont wanna know where the games are, i just wanted to know how he was using the code

+ Reply to Thread
Page 1 of 4 123 ... LastLast

Similar Threads

  1. Ever Been Suspended For Using PHP?
    By dragoneye_xp in forum Off Topic
    Replies: 26
    Last Post: 08-16-2009, 07:17 PM
  2. [PHP] Variables in PHP
    By Bryon in forum Tutorials
    Replies: 15
    Last Post: 01-29-2009, 09:46 AM
  3. tons of PHP Resources
    By Chris S in forum Scripts & 3rd Party Apps
    Replies: 10
    Last Post: 01-16-2009, 10:07 AM
  4. [PHP] PHP For Starters
    By Complex in forum Tutorials
    Replies: 24
    Last Post: 06-14-2008, 11:40 PM
  5. Unstand PHP?
    By o0slowpaul0o in forum Tutorials
    Replies: 8
    Last Post: 01-07-2008, 09:16 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers