Re: HTTP socket connection
| From: | Tolga \"thorr\" Orhon | Date: | Fri, 18 May 2001 17:58:40 +0000 |
| Subject: | Re: HTTP socket connection | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-53461@lists.php.net to get a copy of this message | ||
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.curl.php
http://curl.haxx.se/
Tolga 'thorr' Orhon
"Todd Cary" <todd@aristesoftware.com> wrote in message
news:3B055924.FC41DC3E@aristesoftware.com...
> 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 connection?
>
> Todd
>
> --
> Todd Cary
> Ariste Software
> todd@aristesoftware.com
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>