gergy008 Posted August 16, 2009 Share Posted August 16, 2009 I'm after making a play.php page, And the page will display a game depending on the ?gme=whatever tag at the end. It's just so people can't grab the URL to the game and steal them. You have to unlock games to play them thats all. Can anyone show me or give me a good link on how to use them? Thanks in advance. Link to comment https://forums.phpfreaks.com/topic/170512-solved-using-the-apatche-query-strings/ Share on other sites More sharing options...
lynxus Posted August 16, 2009 Share Posted August 16, 2009 Please look at : http://www.tizag.com/phpT/postget.php It may be worth going through the whole lot. Only a few hours worth of learning and will REALLLLY help with php. in short though. play.php?blaa=1234 In php you would do: <?php $blaa = $_GET['blaa']; // gets the data from ?blaa= echo $blaa; ( result would be 1234, ie: the var now has 1234 in it ) you will need to figure out what will happen now though. Link to comment https://forums.phpfreaks.com/topic/170512-solved-using-the-apatche-query-strings/#findComment-899451 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.