by simple ways, you can do that:

$query = urlencode("your query string")
$result_string = join('', file($query));


"Henry" <[EMAIL PROTECTED]> wrote in message
> Hi all
> I would like to be able to get the result of a search from google. Namely
> would like to write a PHP script that will generate and submit a form
> (internally i.e. on the server) using the GET method to
> setting the field "q" to the search words. It
> should then parse the results so that I can feed them back to the user in
> form that I choose.
> How should/can I go about this?
> TIA.
> Henry.

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to