I used the following code.
$homepage = file_get_contents('http://www.google.co.in/'); echo $homepage;
But it display the following warning message
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