note 37970 added to function.header
| From: | isaac at blueapples dot org | Date: | Wed, 03 Dec 2003 17:11:51 +0000 |
| Subject: | note 37970 added to function.header | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-61345@lists.php.net to get a copy of this message | ||
Please refer to the HTTP/1.1 specification carefully when writting the field-name, as it is known
that at least IE will fail for at least some headers if they are not capitalized as in the
specification.
Example,
<?php
// this will fail
header("Content-type: text/plain; charset=utf-8");
// this will succeed
header("Content-Type: text/plain; charset=utf-8");
?>
----
Manual Page -- http://www.php.net/manual/en/function.header.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+37970
Delete -- http://master.php.net/manage/user-notes.php?action=delete+37970&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+37970&report=yes
Search -- http://master.php.net/manage/user-notes.php