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
Hello,
Can anyone verify / solve the problem I am having with downloading an
image..
The following test works fine in every browser I've tried except in mozilla
for windows. Mozilla appends .php to the file name when prompted to save or
open. In IE, I can save it to disk or open it, and the ass
* 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( "
3 matches
Mail list logo