How to use class php_http_connector?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
blaus
Forum Newbie
Posts: 1
Joined: Mon May 26, 2008 8:53 am

How to use class php_http_connector?

Post by blaus »

Hey,
I've a problem and I hope anybody can help me.

I tried to establish a http connection using our proxy server. For example I tried to open the url http://www.google.com

$connect = new php_http_connector();
$host="172.29.8.26"; // ip adress of our proxy
$path = "/";
$port = 8080;
$timeout = 0;
$user = "tq\blaus"; //domain = "tq" & user is "blaus"
$password = "mypwd";
$connect->setProxyConnection($host,$path,$port,$timeout,$user);

How can I call the url http://www.google.com using the created obejct reference?

I need an example how to establish a proxy connection and call an specified url.

Can anybody help me?

Regards

Torsten
from Germany
Post Reply