RE: [PHP] Programmatic POST
| From: | Vincent DUPONT | Date: | Thu, 23 Nov 2006 06:30:50 +0000 |
| Subject: | RE: [PHP] Programmatic POST | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-245077@lists.php.net to get a copy of this message | ||
in PHP5, you could have a look at objects HTTPRequest and HTTPResponse.
I never used them yet, though...
vincent
-----Original Message-----
From: Brad Fuller [mailto:bfuller@cpacampaigns.com]
Sent: Wed 22/11/2006 21:25
To: php-general@lists.php.net
Subject: RE: [PHP] Programmatic POST
> -----Original Message-----
> From: Gabe [mailto:ydnahg-news4432@mailblocks.com]
> Sent: Wednesday, November 22, 2006 3:08 PM
> To: php-general@lists.php.net
> Subject: [PHP] Programmatic POST
>
> I'm looking to write a function that will receive the contents of a web
> form, do some data manipulation, then pass on the manipulated data to
> another URL via POST. Is there a built-in function in PHP that I can
> use to send the data to another URL via POST without a user having to
> click submit on a form?
Yep. There are several.
I prefer to use cURL.
http://www.php.net/curl
-B
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php