<? $m = ''; if (isset($_POST['m'])) { $m = $_POST['m']; } else if (isset($_GET['m'])) { $m = $_GET['m']; } ?> <html> <head> <title>Flash Video Player</title> </head> <body> <? if (isset($m)) { ?> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="550" height="400" id="player_lite" align="middle"> <param name="allowScriptAccess" value="sameDomain" /> <param name="movie" value="player_lite.swf" /> <param name="quality" value="high" /> <param name="bgcolor" value="#ffffff" /> <param name="flashvars" value="url=<?=$m?>" /> <embed src="player_lite.swf" quality="high" bgcolor="#ffffff" width="550" height="400" name="player_lite" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" flashvars="url=<?=$m?>" /> <? } else { echo "No Movie Chosen"; } ?> </body> </html>