embedding flash into php
Posted: Sun Jun 20, 2004 7:54 am
When I place a flash object into php it simply will not run. Even if I remove the cookie condition it will not run. I have tried it in an html document and simply with this code below. Nothing. There is not a lot of info about this. Not a thing in my text books. I will continue to look on the Macromedia site but nothing yet.
feyd|use
Code: Select all
<?php
//Check if cookie is set
if (!isset($_COOKIE['name'])){
'<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
WIDTH="224" HEIGHT="64" id="website" ALIGN="">
<PARAM NAME=movie VALUE="website.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED src="website.swf" quality=high bgcolor=#FFFFFF WIDTH="224" HEIGHT="64" NAME="website" ALIGN=""
TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>
</OBJECT>';
}
?>Code: Select all
tags when posting code[/color]