apache_request_headers

apache_request_headers

(PHP 4 >= 4.3.0, PHP 5, PHP 7)

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 FALSE on failure.