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 4.3.0 and greater.

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

See also apache_request_headers(), and headers_sent().