lets say I want to grab the contents of a html file, I can do a
$html = implode('', file(
http://www.abc.com/test.html));
But if I want to grab the html code for a dynamic webpage, like
http://news.google.com.sg/nwshp?hl=en&tab=wn&q=
How do I do it?
Do I follow the following line of code?
$html = implode('', file(
http://news.google.com.sg/nwshp?hl=en&tab=wn&q=));
Please advise. thanks.