SSL Tunneling with PHP ?
I have a requirement where I need a connection to a secure host over port no. 8443.
They only allow connection through Secure Socket Tunnel.
I wrote a script and use below code:
Now the thing is that, every time I run this script, it earlier shown me "Connection Timeout (110)" and later it has been showing "Connected....". But I do not think it is really connected. I think this Secure Socket Tunnel needs something else too.
$fp = fsockopen("ssl://some.host.here","8443",$errno, $errstr);
echo "$errstr ($errno)<br />\n";
Can you please help ?