get_headers

 array get_headers ( string $url [, int $format = 0 ] ) 

説明

get_headers() returns an array with the headers sent by the server in response to a HTTP request.

戻り値

Returns an indexed or associative array with the headers, or FALSE on failure.