code
*/
?>
> From: "Richard Lynch" <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> Date: Tue, 8 Mar 2005 08:56:57 -0800 (PST)
> To: "Stephen Johnson" <[EMAIL PROTECTED]>
> Cc: "zzapper" <[EMAIL PROTECTED]>, "php"
&
> $len = filesize($file_path);
> header("Content-Type: application/force-download");
> header("Content-Type: application/octet-stream");
Call me crazy, but sending TWO Content-type: headers seems just plain
WRONG to me.
application/octet-stream will force a
You have to trick the browser into thinking that the jpg file is something
other then a jpg. This is sketchy and does not always work.
Something like this maybe
$len = filesize($file_path);
header("Content-Type: application/force-download");
header("Content-
3 matches
Mail list logo