note 18876 added to function.header
| From: | roland at inkoeln dot com | Date: | Fri, 08 Feb 2002 06:03:39 +0000 |
| Subject: | note 18876 added to function.header | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-26371@lists.php.net to get a copy of this message | ||
You shouldn't use the
Content-type: application/pdf
header, because most Browsers (Netscape, IE) will ignore this header, read just a small portion of
the input to determine file-type and then call your script again. This means you will generate the
same pdf twice and what's worse form input will be lost!!!
--
http://www.php.net/manual/en/function.header.php
http://master.php.net/manage/user-notes.php?action=edit+18876
http://master.php.net/manage/user-notes.php?action=delete+18876
http://master.php.net/manage/user-notes.php?action=reject+18876