Re: Bug
| From: | Pierre-Alain Joye | Date: | Tue, 30 Dec 2003 01:32:40 +0000 |
| Subject: | Re: Bug | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-9873@lists.php.net to get a copy of this message | ||
On Mon, 29 Dec 2003 23:37:27 +0300
"cls user" <cls@bk.ru> wrote:
> Hi! Happy New Year!
>
> At http://pear.php.net/package/HTTP_Request/1.2 u wrote that
> HTTP_Request 1.2 supports SSL. why i can't open followed URL's using
> HTTP_Request 1.2:
>
> https://www.umaxlogin.com/user_login.php,
> https://www.e-gold.com/acct/login.html
>
> code example:
>
> <?php
> include('Request.php');
>
> $req = &new
>
> HTTP_Request('https://www.e-gold.com/acct/login.html');$req->se
> tMethod(HTTP_REQUEST_METHOD_POST);$req->sendRequest();
> $response1 = $req->getResponseBody();
> $response2 = $req->getResponseHeader("Content-Length");
> echo $response1;
> ?>
>
> screen: clear, white :(
error_reporting(E_ALL); should help
require_once 'HTTP/Request.php'; too
hth
pierre