note 24798 added to function.header
| From: | fschaper at zerodegree dot de | Date: | Wed, 28 Aug 2002 20:14:18 +0000 |
| Subject: | note 24798 added to function.header | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-35933@lists.php.net to get a copy of this message | ||
If you want to send files via SSL and want to predefine the filename using something like this:
header("Content-type: application/octet-stream");
header("Content-Disposition: attachment; filename=test.bin");
you _cannot_ use
header("Pragma: no-cache");
or the filename will not be submitted like intended but the scriptname will be used ..
--
http://www.php.net/manual/en/function.header.php
http://master.php.net/manage/user-notes.php?action=edit+24798
http://master.php.net/manage/user-notes.php?action=delete+24798
http://master.php.net/manage/user-notes.php?action=reject+24798