Re: Access Headers Submitted by Browser

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Curt Zirzow wrote:
On Mon, Dec 19, 2005 at 11:28:07PM -0500, Michael B Allen wrote:

I want to read headers submitted by the client. Are these available
through some global array somewhere?


You will notice all the  HTTP_* values in:
  var_dump($_SERVER);

hi Curt,

although there is lots of header info in the SERVER super global I don't
know if they [headers] are all accounted for there, I assume this because
of the existance of getallheaders().

<quote from="TM">
After PHP 4.3.0, getallheaders() is an alias for apache_request_headers().
</quote>

Curt.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux