Hello,
I would like to get the HTML contents of a URL. For example, I call a GetHtmlContentsFromUrl PHP function like that:
$sHtml = GetHtmlContentsFromUrl ("http://www.myurl.com/myfile.html");
So It kind of execute a new instance of my browser, wait for the page to load, and return its contents.
There's no function like that in the HTTP PHP default lib. Do you know where I can get such a lib ? Maybe it already exists in PHP.
Actually I thought about using PHP and JS with somekind of frame to get the HTML from a url. But It's kind of tricky because I have to use ONLOAD, then use JS to get the contents of a frame... Tricky :p