note 79028 modified in function.header by danbrown
| From: | danbrown@php.net | Date: | Sun, 23 Jan 2011 17:34:02 +0000 |
| Subject: | note 79028 modified in function.header by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-176213@lists.php.net to get a copy of this message | ||
The first element of the header (i.e. "Location") is case sensitive depending on the
browser. In IE7, <?php header("location:http://www.example.com"); ?> does not work as
expected whereas <?php header ("Location:http://www.example.com"); ?> does work as expected.
For a full list of headers and their values go here: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html
--was--
The first element of the header (i.e. "Location") is case sensitive depending on the
browser. In IE7, <?php header("location:http://www.url.com"); ?> does not work as expected
whereas <?php header ("Location:http://www.ulr.com"); ?> does work as expected.
For a full list of headers and their values go here: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html
http://php.net/manual/en/function.header.php