Re: [PHP] Problem with forced downloads via HTTP headers..

2003-08-14 Thread Magnetotron
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

Re: [PHP] Problem with forced downloads via HTTP headers..

2003-08-11 Thread Curt Zirzow
* 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( "