Page 1 of 1

file_get_contents error

Posted: Fri Dec 11, 2009 2:43 pm
by kapil1089theking
<?php
$url = 'https://www.google.com';
$contents = @file_get_contents($url) or die ("ERROR");
echo $contents;
?>

Showing me ERROR
i.e. file_get_content returns some error. how to resolve it?

Re: file_get_contents error

Posted: Fri Dec 11, 2009 3:20 pm
by McInfo
Duplicate post: 110116

Edit: This post was recovered from search engine cache.