473 posts
  • Has referred 1+ members
  • Has sold $1,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Sells items exclusively on Envato Market
+3 more
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
  • Has referred 1+ members
  • Has sold $1,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Sells items exclusively on Envato Market
+3 more
apearce says

I’m confused, please help! :D

473 posts
  • Has referred 1+ members
  • Has sold $1,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Sells items exclusively on Envato Market
+3 more
apearce says

Sorted the problem, thanks anyway :)!

3072 posts
  • Has referred 50+ members
  • Has sold $40,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Had an item featured on Envato Market
+5 more
wickedpixel says

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

3868 posts
  • Has been part of the Envato Community for over 7 years
  • Has referred 200+ members
  • Has sold $10,000+ on Envato Market
  • Has been a beta tester for an Envato feature
+9 more
flashjunkie says

happy to help :)

Jay

2485 posts Premium Scripts, Plugins and Themes
  • Has been part of the Envato Community for over 7 years
  • Has referred 200+ members
  • Has sold $125,000+ on Envato Market
  • Has been a beta tester for an Envato feature
+6 more
LucidStudios says
Sorted the problem, thanks anyway :)!

You welcome! :D

473 posts
  • Has referred 1+ members
  • Has sold $1,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Sells items exclusively on Envato Market
+3 more
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