note 14265 added to function.getallheaders.php
| From: | jonas at nospam dot delfs dot dk | Date: | Tue, 24 Jul 2001 18:19:42 +0000 |
| Subject: | note 14265 added to function.getallheaders.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-15775@lists.php.net to get a copy of this message | ||
The easiest way to list all headers:
foreach(getallheaders() AS $key => $value) echo "$key: $value<br>\n";
http://www.php.net/manual/en/function.getallheaders.php