Re: [PHP] HTTP socket connection

2001-05-21 Thread Nuno Silva
Hi, install http://stunnel.org/ in localhost: and redirect it to remote_host:443 with stunnel ;) now you can talk "simple" http to localhost: and let stunnel do the dirty work. Hope this helps, Nuno Silva phpman wrote: > I've been working with curl as well. It allows a pretty easy m

Re: [PHP] HTTP socket connection

2001-05-20 Thread phpman
I've been working with curl as well. It allows a pretty easy method to access https, however it is limited as far as encrypting data and sending to an https server. So now i'm experimenting with snoopy to simulate a web client. I'm trying to link up with UPS online tools, but the sob's only know j

Re: [PHP] HTTP socket connection

2001-05-18 Thread Tolga \"thorr\" Orhon
As far as I know you cant do that with standard socket connection as SSL needs more than that. One solution that I am currently using is using Curl extensions of PHP which is working just fine. But you may need to recompile PHP with curl support. For more info: http://www.php.net/manual/en/ref.cu

[PHP] HTTP socket connection

2001-05-18 Thread Todd Cary
For my http socket connection, I am using "POST $abs_url HTTP/1.0\r\n". "Accept-Language: en-us\r\n". "Host: $host:$port\r\n". "Connection: close\r\n". "Content-type: application/x-www-form-urlencoded\r\n". which works great. What do I need to change for a SSL