I try to get this page's HLTM code(http://www.google.com/search?tbs=simg:CAESEgmbKK4nJ8pyZiGCp1jyKj6SXg&tbm=isch),
but file_get_contents($url);
can't work on this page.
So I think to use InternetExplorer.Application is a way, I find a php script about website screenshots:
<?php $Browser = new COM('InternetExplorer.Application');
$Browserhandle = $Browser->HWND; $Browser->Visible = true;
$Browser->Fullscreen = true;
$Browser->Navigate('http://www.google.com/search?tbs=simg:CAESEgmbKK4nJ8pyZiGCp1jyKj6SXg&tbm=isch');
while($Browser->Busy){ com_message_pump(4000); }
$img = imagegrabwindow($Browserhandle, 0); $Browser->Quit();
imagepng($img, 'screenshot.png'); ?>
BUT how can I save a .html file or get HTML code with "InternetExplorer.Application"?
poor English, sorry, Thank you.