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; ?>

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by