I have to scarpe a search engine .I tried this
Code: Select all
<?php
$hon_html_file = file_get_contents("http://www.hon.ch/HONcode/Search/search.html?cref=http%3A%2F%2Fwww.hon.ch%2FHONcode%2FSearch%2FHONcodeHunt%2Fcontextlink.xml&q=".$urlnew."&hl=en&cof=FORID%3A11#997");
echo $hon_html_file;
?>
Please help . I want to grab the title and urls of first ten retirvied results.
Thanks
Mehnaz