HTTP_Request unknown error connecting to HTTPS address

From: Date: Thu, 13 Apr 2006 13:45:55 +0000
Subject: HTTP_Request unknown error connecting to HTTPS address
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-23639@lists.php.net to get a copy of this message
I am trying to use HTTP_Request to post data to an HTTPS address. I am not receiving any response back when I try however. Using PHP 4.4.2 and:
Archive_Tar    1.3.1   stable
Console_Getopt 1.2     stable
HTTP           1.4.0   stable
HTTP_Request 1.3.0 stable
Mail           1.1.9   stable
Mail_Mime      1.3.1   stable
Net_SMTP       1.2.7   stable
Net_Socket     1.0.6   stable
Net_URL        1.0.14  stable
PEAR           1.4.6   stable
XML_Parser     1.2.7   stable
XML_RPC        1.4.5   stable
XML_Serializer 0.18.0 beta
XML_Util       1.1.1   stable
My code is as follows: <?php function epdq_post_xml($xmlinput) { # URL FROM CONFIG FILE global $EPDQ; require 'HTTP/Request.php'; $r = new HTTP_Request($EPDQ['URL']); # SET TO POST DATA, NOT GET $r->setMethod(HTTP_REQUEST_METHOD_POST); # ADD POST PARAMETER $r->addPostData('CLRCMRC_XML',$xmlinput); # DO POST $ErrorCheck = $r->sendRequest(); # ERRROR CHECK if ( PEAR::isError($ErrorCheck) ) { echo "Connection problem: ".$ErrorCheck->toString(); } if ( $r->getResponseCode() != '200' ) { echo "Request failed: ".$r->getResponseCode(); } # GET RESPONSE $xmloutput = $r->getResponseBody(); return stripslashes($xmloutput); } ?> Can anyone help? Thanks, Matt -- Matt Fletcher Email: info@matt-fletcher.co.uk Web: http://www.matt-fletcher.co.uk/ Phone: 01524 426559 Mobile: 07792 148897

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