note 76762 added to function.apache-request-headers
| From: | tehjosh at gamingg dot net | Date: | Mon, 30 Jul 2007 02:16:58 +0000 |
| Subject: | note 76762 added to function.apache-request-headers | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-129031@lists.php.net to get a copy of this message | ||
To callum85 at notspam dot msn dot com:
All of the request headers, including If-None-Match and If-Modified-Since should be available in the
$_SERVER array by default. Try running this code:
<?php
var_dump($_SERVER);
?>
Experiment by sending different headers in the request to that script and you should see that the
headers populate the $_SERVER array automatically.
----
Server IP: 69.147.83.197
Probable Submitter: 75.0.43.49
----
Manual Page -- http://www.php.net/manual/en/function.apache-request-headers.php
Edit -- https://master.php.net/note/edit/76762
Del: integrated -- https://master.php.net/note/delete/76762/integrated
Del: useless -- https://master.php.net/note/delete/76762/useless
Del: bad code -- https://master.php.net/note/delete/76762/bad+code
Del: spam -- https://master.php.net/note/delete/76762/spam
Del: non-english -- https://master.php.net/note/delete/76762/non-english
Del: in docs -- https://master.php.net/note/delete/76762/in+docs
Del: other reasons-- https://master.php.net/note/delete/76762
Reject -- https://master.php.net/note/reject/76762
Search -- https://master.php.net/manage/user-notes.php