Aug 9, 2006, 1:01 AM
Post #1 of 6
when running this program it doesn't print out the url results from the page. It's suppose to have to urls listed.
extracting url from google search
steps i took : went to google - > www.google.com and type in the word tulips to do a search . from that result i saved the google page as search.htm .
$searchresults = &readresults();
$size = (stat("/home/xxx/search.htm"));
read(FH, $filedata, $size);
$searchdata = $_;
while ($searchdata =~ /<a class=l href="(.*?)">/ig)