I want to get headers of website but get_headers return nothing
This is my code
<?php
$url = 'http://www.example.com';
print_r(get_headers($url));
?>
For your information my web hosting provider is network solution
Does the problem from my code or from the web hosting provider ?
And what's the solution to get the headers of one website ?
If get_headers is disabled then you can also use cURL instead.