Publisher review:Searching external or internal webpages is a script you can use to search internal and external pages. Nothing fancy needed for this beginning example. I have linked the box above to the script code I'm about to show you. Go ahead (no looking back and cheating now) and type a word or two you think was probably contained in that HTML page. All the script does is tell you whether or not it is there and how many times the search criteria appeared on each line of HTML.
each_line = fgetss($the_page, 255); if($type != "exact" { if(eregi($search_criteria, $each_line, $results)) { // for each line where there is a match, increment a counter $size ; } } else { // ok let search using CASE SENSITIVE matches only if(ereg($search_criteria, $each_line, $results)) { // for each line where there is a match, increment a counter $size ; } }
Searching external or internal webpages is a PHP script for Snippets scripts design by php-scripts.com.
It runs on following operating system: Windows / Linux.
Operating system:Windows / Linux