Perform HEAD Request
Simple HEAD request
$url = 'http://www.example.com';
$headers = http_head();
var_dump(http_parse_headers($headers));
You will need to install http php extension
pecl install http
Written by Lee Xiang Wei
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Php
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#