PHP Classes

File: googleCrawler.sample.php

Recommend this page to a friend!
  Classes of Md Fazle Yea Bari Hossain  >  Google Crawler  >  googleCrawler.sample.php  >  Download  
File: googleCrawler.sample.php
Role: Example script
Content type: text/plain
Description: this the sample page which includes the googleCrawler class and get the links,titles and descriptions from that class
Class: Google Crawler
Extract results from Google search pages
Author: By
Last change: small problem.a problem in the variable name.sorry for the problem.
Date: 15 years ago
Size: 710 bytes


Class file image Download
include "googleCrawler.class.php";

$keywordsGot="Cricket";//write the keywords here for search
echo "Search Results for <b>".$keywordsGot."</b><br>";

$pageNeed=1;//enter here how many pages you want to crawl

"In Page---<b>".($n+1)."</b><br>";
$spider=new googleCrawler($keywordsGot,$n);

"<div><a href=\"".$links[$i]."\">".$titles[$i]."</a><br>";

For more information send a message to info at phpclasses dot org.