phpbar.de logo

Mailinglisten-Archive

[php] header IE downloadproblem

[php] header IE downloadproblem

Tacker, Markus php_(at)_phpcenter.de
Tue, 2 Oct 2001 11:09:48 +0200


> -----Original Message-----
> From: Alexander Hessenkamp [mailto:andiamo_(at)_hessenkamp.de]
> Sent: Tuesday, October 02, 2001 10:53 AM
> To: php_(at)_phpcenter.de
> Subject: [php] header IE downloadproblem
> 
> <?PHP include("phpSecurePages/secure.php");
> header("Content-Disposition: atachment; filename=$filename");

ebtl. attachment?

> header("Content-Type: application/octet-stream");
> header("Content-Length: ".filesize("$downurl . "/" . $path . 
> "/" . $filename"));
> header("Content-Transfer-Encoding: binary\r\n");
> header("Pragma: no-cache");
> header("Expires: 0");
> readfile($fread);
> ?>

mfg
m.tacker


php::bar PHP Wiki   -   Listenarchive