Re: problem with HTTP_Client::post
| From: | Alexey Borzov | Date: | Sun, 30 Oct 2005 07:15:12 +0000 |
| Subject: | Re: problem with HTTP_Client::post | ||
| References: | 1 2 3 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-21702@lists.php.net to get a copy of this message | ||
Hi,
Leo Lutz wrote:
I think you both need to refresh your memory of the docs: http://pear.php.net/manual/en/package.http.http-client.http-client.currentresponse.phpI wrote a "test.php" <?php var_dump($_POST); ?> then I post $url="http://example.com/test.php"; $data="abc=123&cde=567"; $httpClient = new HTTP_Client(); $httpClient->post($url, $data); What kind of method there is to receive the response?I think you need to look at the package HTTP_Request. It will do POSTs and return the results. http://pear.php.net/manual/en/package.http.http-request.php