PEAR Forum :: PHP Extension and Application Repository

PEAR Forum Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
HTTP_Client

 
Post new topic   Reply to topic    PEAR Forum Forum Index -> HTTP
View previous topic :: View next topic  
Author Message
jestershoot



Joined: 23 Nov 2006
Posts: 2

PostPosted: Thu Nov 23, 2006 1:51 pm    Post subject: HTTP_Client Reply with quote

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
View user's profile Send private message
jestershoot



Joined: 23 Nov 2006
Posts: 2

PostPosted: Thu Nov 23, 2006 3:08 pm    Post subject: Reply with quote

Found myself.

Php must be with openssl support.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    PEAR Forum Forum Index -> HTTP All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
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



PEAR Forum topic RSS feed 
Powered by phpBB © 2001, 2005 phpBB Group

Provided by Ministry of Web developement