PDA

View Full Version : php search engine [using google]


mat
09-06-2002, 05:49 AM
Greetings,

Is it possible to make a php search page and a php results page but have it so that the search is carried out via google and instead of being taken to the google results page, the results.php page lists all the results?

i hope i'm making sense. :o

mordred
09-06-2002, 09:07 AM
Yes, I think that should be possible. Google released an API that allowed other scripts to access their search engine through a web-service related interface. You need a license key though, see http://www.google.com/apis/

As for an example of a PHP script that calls this API, you can have a look at http://scripts.incutio.com/google/ . I haven't used that until now, but I believe it would work quite well.

mat
09-06-2002, 09:12 AM
thanks i'll take a look.

mat,