Re: Re: Bug #14653 Updated: Internet Explorer for Macintosh receives bad HTTP header info from PHP Header()
| From: | derick@php.net | Date: | Sun, 23 Dec 2001 02:04:24 +0000 |
| Subject: | Re: Re: Bug #14653 Updated: Internet Explorer for Macintosh receives bad HTTP header info from PHP Header() | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-74838@lists.php.net to get a copy of this message | ||
On Sat, 22 Dec 2001, Roman Neuhauser wrote:
> > Can you suggest a workaround since it appears that lots of
> > PHP code uses this PHP Header() redirect to setup files for
> > users to download from sites?
>
> don't you need a content-type or sumthing as well?
Header ("Content-Type: application/download\n");
Header ("Content-Disposition: attachment; filename='filename.zip'\n");
Derick