apache_request_headersFetch all HTTP request headers Description
array apache_request_headers
( void
)
Fetches all HTTP request headers from the current request. Return Values
An associative array of all the HTTP headers in the current request, or
Changelog
Examples
Example #1 apache_request_headers example
<?php The above example will output something similar to: Accept: */* Accept-Language: en-us Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 Host: www.example.com Connection: Keep-Alive Notes
See Also
|