note 53829 added to function.header
| From: | colfer at nomail dot tld | Date: | Tue, 14 Jun 2005 14:30:37 +0000 |
| Subject: | note 53829 added to function.header | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-90418@lists.php.net to get a copy of this message | ||
Correction, to check the headers returned, you may need an extra line for the Host:
telnet domain.tld 80
GET /page.htm HTTP/1.0
Host: domain.tld
(return-return)
or for just the header,
telnet domain.tld 80
HEAD /page.htm HTTP/1.0
Host: domain.tld
(return-return)
Note, if you're getting a directory, include the trailing slash, since most servers always send
a 301 without it.
----
Manual Page -- http://www.php.net/manual/en/function.header.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+53829
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+53829&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+53829&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+53829&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+53829&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+53829&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+53829&report=yes
Search -- http://master.php.net/manage/user-notes.php