Brian Dunning wrote:
I'm trying to serve up a jpeg like this:
header("Content-type: image/jpg");
readfile('images/banner-ad.jpg');
It works on other browsers, but on Safari it downloads the graphic
like a file, rather than displaying it. What's up with that????
--PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.9.0/367 - Release Date: 16/06/2006
Maybe you can try to embed the image in a blank html, inside <img> tag
for example, to show only the image you want.
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.9.0/367 - Release Date: 16/06/2006
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php