note 10697 added to header
| From: | mcartmel at magian dot com dot au | Date: | Thu, 18 Jan 2001 01:46:36 +0000 |
| Subject: | note 10697 added to header | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-9914@lists.php.net to get a copy of this message | ||
Got IE to only ask to save once when using headers like this...
header("Content-Type: doesn/matter\r\n");
header("Content-Disposition: filename=filename.ext\r\n\r\n");
header("Content-Transfer-Encoding: binary\r\n");
Not actually putting 'atachment' in the Disposition line seems to work better :/ Go
figure...
http://www.php.net/manual/en/function.header.php