Freelance PHP programmer India | Freelance web developer india | Web development India | web developer CV india | Compiling PHP and Apache 2 from source on Linux
The HttpRequest
PHP Manual

HttpRequest::getHeaders

(PECL pecl_http >= 0.10.0)

HttpRequest::getHeadersGet headers

Description

public array HttpRequest::getHeaders ( void )

Get previously set request headers.

Return Values

Returns an associative array containing all currently set headers.


The HttpRequest
PHP Manual