Re: Programmatic POST
| From: | Manuel Lemos | Date: | Thu, 23 Nov 2006 02:43:41 +0000 |
| Subject: | Re: Programmatic POST | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-245072@lists.php.net to get a copy of this message | ||
Hello,
on 11/22/2006 06:07 PM Gabe said the following:
> 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?
You may want to use this HTTP client class. It can emulate form
submission via HTTP POST, and if necessary it can collect cookies,
handle redirection, access SSL pages, etc...
http://www.phpclasses.org/httpclient
--
Regards,
Manuel Lemos
Metastorage - Data object relational mapping layer generator
http://www.metastorage.net/
PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/