My problem is the SWF movie won't load in IE7 although it works fine in Firefox3. All I get is a white area that when you right-click on it, a message saying "movie not loaded" appears in the context menu. I am using PHP5 and IE7 has Flash Player 10 installed. I been trying to look for a solution for this problem for months now and I have started to feel this uncontrollable wrath for IE7.
anyways, here's the code:
Code: Select all
echo "<object type=\"application/x-shockwave-flash\" data=\"https:XXX.com/picture.php?image_id=$image_id\" width=\"800\" height=\"600\">";
echo "<param name=\"movie\" value=\"https:XXX.com/picture.php?image_id=$image_id\" />";
echo "<param value=transparent name=wmode />";
echo "</object>";
and here's picture.php
Code: Select all
$result = mysql_query("SELECT filename,filetype, data, width, height FROM tablename1 WHERE image_id = $image_id");
if (mysql_num_rows($result)) {
$row = mysql_fetch_object($result);
header("Content-type: $row->filetype");
echo $row->data;}