FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

How do I do a Xgames.frih.net/games/play.htmlURLOFGAME Close

 


Hogwarts
How do I have it so I can have...
Xgames.frih.net/games/play.html?www.camperstrike.uk
Or something like that...
Then the camperstrike.uk is the adress of the bottom frame
With the top frame left the same


Last edited by Hogwarts on Sun Jul 02, 2006 2:35 pm; edited 1 time in total
Aredon
It's possible to do in JavaScript, yet you should be doing this in PHP.


http://Xgames.frih.net/games/play.php?topframe=http://www.google.com

play.php:
Code:

blah blah blah<br>
<iframe src="<? echo $_GET["topframe"]; ?>" width="400" height="300"></iframe>
Stubru Freak
Or for http://Xgames.frih.net/games/play.php?http://www.camperstrike.uk :

Code:
<iframe src="<?php echo $_SERVER['QUERY_STRING']; ?>" width="400" height="300"></iframe>
Reply to topic    Frihost Forum Index -> Scripting -> Html, CSS and Javascript

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.