I was wondering how to process a url into a string.
(putting a url in, and getting the html out)
I tried using this:
$url = 'http://www.google.com';
$page = @implode("", (@file($url))) or die($errormsg);
echo $page; //do stuff with page...
It works, however some pages (https) don't work.
Is there any other way of doing this, apart from using
libcurl? Thanks