HTTP Functions
PHP Manual

http_get_request_headers

(PECL pecl_http >= 0.10.0)

http_get_request_headersGet request headers as array

Description

array http_get_request_headers ( void )

Get a list of incoming HTTP headers.

Parameters

Return Values

Returns an associative array of incoming request headers.

See Also


HTTP Functions
PHP Manual