Forum Moderators: coopster

Message Too Old, No Replies

Performing multiple searches at once

         

ramoneguru

6:05 pm on Jul 1, 2005 (gmt 0)

10+ Year Member



Ok, I have a file with a list of things that need to be searched (Chevron, Edison Electric, Accenture, pretty much all corporations)

I can open the file, get the data, but how do I take that data and feed it to a search engine like google?
--Nick

lobo235

6:58 pm on Jul 1, 2005 (gmt 0)

10+ Year Member



If allow_url_fopen [php.net] is on you can just use file_get_contents() [php.net] with the URL like so:

$results = file_get_contents( "http://www.google.com/search?q=Chevron" );