base64 encoded images and printing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



in a nutshell, i'm displaying a base64 encoded image (that is being
parsed from a remote xml file) in the browser doing a simple header
output:

<?php
header('Content-Length: '.$length); 
header('Content-Type: image/gif'); 
echo base64_decode($image); 
?>

it will print fine with Firefox but nothing in IE (just a box with an x
in the corner). didn't realize that IE wouldn't print these. am i stuck
with having to save the image to the server for IE to be able to print
it? i didn't really want to have to save these images out as they are
temporary.
 
Bill

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux