I am using the file_get_contents()
. It works on on my local machine, but does not work on my production server. Any help would be appreciated!
Code:
$id = ph5740142354e5e
$url = 'http://it.pornhub.com/webmasters/is_video_active?id=' . $id;
$pagina = file_get_contents($url);