RE: [PHP] Getting PHP to submit a form to google
| From: | David Piasecki | Date: | Thu, 15 Aug 2002 20:05:44 +0000 |
| Subject: | RE: [PHP] Getting PHP to submit a form to google | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-112846@lists.php.net to get a copy of this message | ||
Use the google API...
http://www.google.com/apis/
- David
-----Original Message-----
From: Henry [mailto:henry-php-general-news@teacake.f9.co.uk]
Sent: Thursday, August 15, 2002 12:11 PM
To: php-general@lists.php.net
Subject: [PHP] Getting PHP to submit a form to google
Hi all
I would like to be able to get the result of a search from google.
Namely I
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
http://www.google.com/search 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 a
form that I choose.
How should/can I go about this?
TIA.
Henry.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php