apache_response_headers

(PHP 4 >= 4.3.0)

apache_response_headers --  Fetch all HTTP response headers

Description

array apache_response_headers ( void )

Returns an array of all Apache response headers. This functionality is only available in PHP version 4.3.0 and greater.

See also getallheaders() and headers_sent().

Note: From PHP 4.3.3 on you can use this function with the NSAPI server module in Netscape/iPlanet/SunONE webservers, too.