get_headers

url verification using get_headers function

get_headers function fetch the headers sent by server, response to the HTTP request.
Returns values in index associative array or failure.

How its works for url verification
get_headers function accept parameters, first parameter for target url and second one for array keys. Continue reading…