| View previous topic :: View next topic |
| Author |
Message |
jestershoot
Joined: 23 Nov 2006 Posts: 2
|
Posted: Thu Nov 23, 2006 1:51 pm Post subject: HTTP_Client |
|
|
Hello.
I have such a problem... I need to load page with HTTP_Client by https protocol.
Here's a code (for a example):
<?php
require_once 'HTTP/Client.php';
$req =& new HTTP_Client();
if (!PEAR::isError($req->get('https://www.e-gold.com/acct/login.html')))
{
$a = $req->currentResponse();
$f = $a['body'];
}
echo $f;
?>
it doesn't work. browser hangs up....
What i'm doing wrong? |
|
| Back to top |
|
 |
jestershoot
Joined: 23 Nov 2006 Posts: 2
|
Posted: Thu Nov 23, 2006 3:08 pm Post subject: |
|
|
Found myself.
Php must be with openssl support. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|