I have made a display.php page to display a shockwave image, after verifying that the current session is valid. The code works fine in Mozilla, but acts like it's trying to download a file in IE, then blows up. Does anyone have any idea why?
<?php
session_start();
$id=$_GET['id'];
$ME=$_SESSION['Call_Me'];
if ($ME=="") header("Location: ../Pages/Login.php?PHPSESSID=$PHPSESSID&referring_page=/CGI-BIN/display.php?id=$id");
$pic="/Pix144/" . md5($id) . ".swf";
header("Content-type: application/x-shockwave-flash");
$fp = fopen($pic,"r");
echo fpassthru($fp);
?>