473 posts
  • Sold between 1 000 and 5 000 dollars
  • Exclusive Author
  • Has been a member for 7-8 years
  • United Kingdom
  • Referred between 1 and 9 users
  • Bought between 50 and 99 items
apearce says

Hello everyone, I need help with a little bit of PHP if anybody can help that would be great. I want to create a page, for example only, lets say games.php. and i want it to include on the dogfight.swf for example, but i also what to include other games. So I would like it to be like this. games.php?game=dogfight.swf. If anybody can help me sort out this problem I promise I will buy one of there files as a reward when I get enough money :P!

473 posts
  • Sold between 1 000 and 5 000 dollars
  • Exclusive Author
  • Has been a member for 7-8 years
  • United Kingdom
  • Referred between 1 and 9 users
  • Bought between 50 and 99 items
apearce says

I’m confused, please help! :D

473 posts
  • Sold between 1 000 and 5 000 dollars
  • Exclusive Author
  • Has been a member for 7-8 years
  • United Kingdom
  • Referred between 1 and 9 users
  • Bought between 50 and 99 items
apearce says

Sorted the problem, thanks anyway :)!

3058 posts
  • Community Superstar
  • Has been a member for 6-7 years
  • Won a Competition
  • Sold between 50 000 and 100 000 dollars
  • Bought between 10 and 49 items
  • Referred between 50 and 99 users
  • Exclusive Author
+1 more
wickedpixel says

No problem man! That’s why we are here! :D

3868 posts
  • Author had a Free File of the Month
  • Beta Tester
  • Bought between 100 and 499 items
  • Contributed a Blog Post
  • Contributed a Tutorial to a Tuts+ Site
  • Exclusive Author
  • Has been a member for 6-7 years
+4 more
flashjunkie says

happy to help :)

Jay

2479 posts Premium Scripts, Plugins and Themes
  • Bought between 10 and 49 items
  • Elite Author
  • Exclusive Author
  • Has been a member for 6-7 years
  • Interviewed on the Envato Notes blog
  • Microlancer Beta Tester
  • Referred between 200 and 499 users
+1 more
LucidStudios says
Sorted the problem, thanks anyway :)!

You welcome! :D

473 posts
  • Sold between 1 000 and 5 000 dollars
  • Exclusive Author
  • Has been a member for 7-8 years
  • United Kingdom
  • Referred between 1 and 9 users
  • Bought between 50 and 99 items
apearce says

I hate these idiots posting topics that are complete rubbish, what a bunch of Internet Explorers!

PS: :P, if anyone is interested in how its done, this is the code heres what me and a friends put together:

<?php if(is_file($_GET[‘game’])){ $game=file_get_contents($_GET[‘game’]); } else { $game=”We are sorry, we could not locate the game you have requested.”; } ?>

Header: game.php?game=

<?php echo $game; ?>

by
by
by
by
by
by