Hi all,
i need your help, here is code, that makes http connection to a
website throu
a proxy server, and it works fine:
==========================================
$proxy = "111.111.111.111";
$port = "8080";
$url = "http://www.myhost.com/folder/script.dll?variable=hello";
$fp = fsockopen($proxy, $port, $errno, $errstr,5);
fputs($fp, "GET $url HTTP/1.0\r\nHost: $proxy\r\n\r\n");
while(!feof($fp)){
$line = fgets($fp, 9000);
}
fclose($fp);
print($line);
==========================================
I need it to be able to make https connection, like that:
$url = "https://www.myhost.com/folder/script.dll?variable=hello";
For some reason it does not work. Proxy server does support https.
I am using http/https proxy server, but it can be changed to socks4/5
server, if its crucial. (i did that and it still does not work, no
data is returned).
Its driving me nuts, could someone please help me, i am even willing
to pay you.
Thank you very much
b_******@ziplip.com