Re: secure sockets
| From: | Josh Levine | Date: | Wed, 24 Jul 2002 05:39:22 +0000 |
| Subject: | Re: secure sockets | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-109255@lists.php.net to get a copy of this message | ||
Richard Lynch wrote:
>
> >Here's some sample code:
> >
> ><?
> > $hostname = 'ssl://155.246.211.23';
>
> You have to be running PHP 4.3.0 (IE, CVS or snapshot) to use 'ssl://' with
> fsockopen, according to the manual.
>
> You may have to use cURL for now, or develop in 4.3.0 and deploy when it's
> ready, or...
>
> It will be pretty cool when the SSL stuff can be done as transparently as
> http:// can right now!
Can't believe I missed the version thing - thanks! I guess I'll try
using cURL for now until 4.3.0 comes out...it'll definitely make things
very nice.
--Josh Levine