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.