Internet Explorer 5.5 ignors a Header
| From: | Stefan Scherf | Date: | Sun, 06 Aug 2000 20:34:02 +0000 |
| Subject: | Internet Explorer 5.5 ignors a Header | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-10372@lists.php.net to get a copy of this message | ||
Hi Rasmus,
Tobias Ratschiller uses "octetstream" instead of "octet-stream" in his
phpMyAdmin-Tool.
An with "octetstream" it works fine.
Well, in RFC 2046 "octet-stream" is written, I don't understand that...
Greetings from Berlin
Stefan
PS: the code for the "save as" window
<?
header("Content-disposition: filename=info.txt");
header("Content-type: application/octetstream"); // octetstream, not
octet-stream
header("Pragma: no-cache");
header("Expires: 0");
readfile("/home/test/info.txt");
?>