Ahh I Know What he Means Maybe He Wana Hide Real SWF And Make The Page A Little Bit Dynamic By Passing Var From Th Query String It Would me Much Better If You Use database But Without Db here How It looks Like :
PHP:
<?php
if(empty($_GET[name]) || empty($_GET[width]) || empty($_GET[height]) || empty($_GET[quality])){
echo "Direct Access not Allowded!";
exit;
}
//here Come Some Config Stuff
//Replace With Your Site Url With Directory With trailing Flash!!!!!
$basedir = "http://yoursite.com/flashfiles/";
?>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="<?=$_GET[width]?>" height="<?=$_GET[width]?>" id="Game" align="middle">
<param name="movie" value="<?=$basedir.$_GET[name]?>.swf" /><param name="quality" value="<?=$_GET[quality]?>" /><param name="bgcolor" value="#ffffff" /><embed src="<?=$basedir.$_GET[name]?>.swf" quality="<?=$_GET[quality]?>" bgcolor="#ffffff" width="<?=$_GET[width]?>" height="<?=$_GET[width]?>" name="Games" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
Note :
The URL MUST Look Like This !:
hxxp://site.com/anypgate.php?name=main&width=800&height=400&quality=high
And You Must Upload All You SWF File To The Directory You Specified Above FOR Example
If The name of your swf file you upload is mafia.swf then you must pass the name in the address barlike this:
hxxp://site.com/anypgate.php?name=mafia&width=800&height=400&quality=high
Without The .swf!! Comments And Questions are welcomed !!
And Don't Expect So much From That Script Ive Made It Within 3 minutes