i had this working but now i messed it up parse error
Parse error: syntax error, unexpected T_STRING in /www/110mb.com/z/f/i/l/e/s/_/_/zfiles/htdocs/extensions/PageMng/default.php(802) : eval()'d code on line 7
in the code:
<?php
$vid="http://zfiles.110mb.com/files/whitenerdy.flv";
if (isset($_POST["vids"])) {
$vid=($_POST["vids"]);
}
$scripp1="<p id=\"player1\"><a href=\"http://www.macromedia.com/go/getflashplayer\">Get the Flash Player</a> to see this player.</p>
<script type=\"text/javascript\">
var FO = { movie:\"files/flvplayer.swf\",width:\"600\",height:\"480\",majorversion:\"7\",build:\"0\",bgcolor:\"#FFFFFF\",flashvars:\"file=";
$scripp2="&showdigits=true&autostart=true\"};
UFO.create(FO,\"player1\");
</script>";
echo $scripp1 . $vid . $scripp2;
?>
0
This discussion has been closed.
Comments
<?php $vid='http://zfiles.110mb.com/files/whitenerdy.flv'; if (isset($_POST['vids'])) $vid=($_POST['vids']); if(strrchr($vid, '?') === FALSE) $vid .= '?'; else $vid .= '&'; $scripp1 = <<< EOT <p id='player1'><a href='http://www.macromedia.com/go/getflashplayer'>Get the Flash Player</a> to see this player.</p> <script type='text/javascript'> var FO = { movie:'files/flvplayer.swf',width:'600',height:'480',majorversion:'7',build:'0',bgcolor:'#FFFFFF',flashvars:'file={$vid}showdigits=true&autostart=true'}; UFO.create(FO,'player1'); </script> EOT; echo $scripp1; ?>