Warning while using file_get_contents
<p>I used the following code.</p>

<p>$homepage = file_get_contents('http://www.google.co.in/');
echo $homepage;</p>

<p>But it display the following warning message</p>

<p>Warning: file_get_contents(http://www.google.co.in/) [function.file-get-contents]: failed to open stream: HTTP request failed! in /home/web/cron/sample.php on line 47</p>
