On Jun 17, 2006, at 12:06 PM, a couple of guys wrote:
header("Content-type: image/jpeg");
notice "jpeg" - not "jpg".
Thanks all - this was indeed the problem. :)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Maybe it is not essential, but shouldn't it say:
header("Content-type: image/jpeg");
notice "jpeg" - not "jpg".
/frank
16 jun 2006 kl. 22.15 skrev Mariano Guadagnini:
Brian Dunning wrote:
I'm trying to serve up a jpeg like this:
header("Content-type: image/jpg");
readfile('images/banner-ad
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 (ht
On Fri, June 16, 2006 9:30 am, 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 t
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/)
T
5 matches
Mail list logo