Re: socket https.
| From: | Richard Lynch | Date: | Thu, 05 Oct 2006 18:45:58 +0000 |
| Subject: | Re: socket https. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-242697@lists.php.net to get a copy of this message | ||
You may want to look at using CURL which handles all the grunge of the
SSL exchange...
http://php.net/curl
Or maybe fsockopen has been fixed up to do that also?...
On Thu, October 5, 2006 12:33 pm, João Cândido de Souza Neto wrote:
> Hi everybody.
>
> I must to connect a https server by a fsockopen but it seems not
> working.
>
> I´ve got openssl instaled in my php and when i run the follow line.
>
> $sock = fsockopen("ssl://wwws.aymorefinanciamentos.com.br", 80,
> $errno,
> $errstr, 30);
>
> My var $sock returns false without any error string.
>
> Could anyone help me?
>
> --
> João Cândido de Souza Neto
> Curitiba Online
> joao@curitibaonline.com.br
> (41) 3324-2294 (41) 9985-6894
> http://www.curitibaonline.com.br
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?