note 20472 deleted from function.header by sniper
| From: | sniper@php.net | Date: | Sun, 07 Sep 2003 21:26:49 +0000 |
| Subject: | note 20472 deleted from function.header by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-55598@lists.php.net to get a copy of this message | ||
Note Submitter: pbaylies@yahoo.com
----
I managed to get IE correctly downloading files from a PHP script, and the only extra header I have
to send is Cache-Control.
This is all I send, where $mime is the appropriate MIME type for the file.
header("Cache-control: private");
header("Content-Type: " . $mime);
Hope this helps.