Page is a not externally linkable
- Code, Content, and Presentation
-- PHP Server Side Scripting
---- PHP Server Variables


SteveWh - 2:44 pm on Jun 20, 2012 (gmt 0)


When I run phpinfo(), I see an entry for _SERVER["HTTP_COOKIE"], so it exists. _SERVER['THE_REQUEST'] is not there, but it looks like you could replicate it manually using something like this:

$_SERVER["REQUEST_METHOD"] . " " .
$_SERVER["REQUEST_URI"] . " " .
$_SERVER["SERVER_PROTOCOL"]

It appears there are also equivalent values in the array of $_ENV[] variables.

Depending on how you want to see the cookie data, you might find the $_COOKIE[] array useful.


Thread source:: http://www.webmasterworld.com/php/4467431.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com