![]() |
|||
crawler
By: Admin | 10 Sep 2008 4:29 pm
A crawler extracts all links of the site untill no new links are found. It keeps the links either in the database or in a file. By Comments
While the crawler is reading the page looking for any links (href=) it is also looking for your keyword IE (if (($keyat=stripos( str_tolower( $line),str_ tolower($ key))!==FALSE) &&((($grda=strpos( $line,">" ,$keyat)= ==FALSE) || ((strpos(substr( $line,$keyat, $grda-$keyat) ===FALSE) )) { found key}
IE find the key value on the line and make sure it is not followed by a '>'
By: Admin | 10 Sep 2008
|
