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
Snoopy & Search Engines in PHP
Moderator: General Moderators
You should probably take a read about how search engines work. I would not recommend trying to make a search engine for the entire internet, instead just make one for your site (easiest if you are using a database for the backend).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?