My script:
$filename = "num1.jpg";
$size = filesize($root_path."html/nums/$filename");
// Set some headers for the browser to read it as an image
header("Content-Type: image/jpeg");
header("Content-Length: $size");
header("Cache-control: private");
// Print our 1x1 space/transparent image
$open = fopen($root_path."html/nums/$filename", 'rb');
$read = fread($open, $size);
fclose($open);
print $read;
This works perfectly in Pheonix (Mozilla) but when I rev up the old IE it does not load. The display bar says "Displaying Picture" and sits on that 'forever'.
If anyone has ideas it would be appreciated 🙂