Sunday, September 30, 2012

Load HTML content of other website via PHP

So what if you wanted to get the html content of another website from within php...easy


$response = file_get_contents("http://www.google.com");

echo $response;

No comments:

Post a Comment