Snoopy & Search Engines in PHP
Posted: Sat Feb 14, 2004 9:24 am
1. If all I want is the HTML from a given URL, e.g. http://www.google.com, what is the advantage of using class Snoopy vs. simply $html=join(“”,file(”http://www.google.com”)); ?
2. How can I write a search engine in PHP, other than by calling another search engine? I can walk through the links, of course, but how do I find all the starting point URLs?
Charlie
chvol@aol.com
2. How can I write a search engine in PHP, other than by calling another search engine? I can walk through the links, of course, but how do I find all the starting point URLs?
Charlie
chvol@aol.com