Re: HTTP_Request: error?

From: Date: Tue, 21 Oct 2003 20:17:53 +0000
Subject: Re: HTTP_Request: error?
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-8521@lists.php.net to get a copy of this message
Hi! Stefan Textor wrote:
while trying to make my paypal sales a bit more secure, i have encountered a very curious result after all. i have tried to send to the form data using HTTP_Request server sided to Paypal and display the result to the user using this script:
     include('HTTP/Request.php');
    error_reporting(E_NOTICE);
This line makes *only* notices be displayed. You probably want to do something else.
    $req->addPostData('submit', '');
    $req->sendRequest();
    echo $req->getResponseBody();
Try var_dump($req) instead, the response *may* have an empty body.

« previous php.pear.general (#8521) next »