Ok, I changed it to image/jpeg, and now the filename is
somefile.jpg.jpeg
No matter what I do, Mozilla for windows wants to append another extension
on the filename based on the mime type. Mozilla under linux works fine...
"Curt Zirzow" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTEC
* Thus wrote Magnetotron ([EMAIL PROTECTED]):
> Can anyone verify / solve the problem I am having with downloading an
> image..
>
> $fpath = "../tmp/";
> $fname = "somefile.jpg";
>
> header( "Pragma: no-cache\n" );
> header( "Content-type: image/jpg\n" );
Should be image/jpeg.
> header( "
2 matches
Mail list logo