[PHP] Re: secure sockets

2002-07-25 Thread Josh Levine
Josh Levine wrote: > Warning: fsockopen(): no SSL support in this build in > /usr/home/research/htdocs/tests/secure2.php4 on line 6 > > I did include OpenSSL support...is there something else I need to > include? Nevermind, I just re-built it from scratch again and it worked. Now I'm just havi

[PHP] Re: secure sockets

2002-07-25 Thread Josh Levine
Richard Lynch wrote: > > $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... I tried mucking arou

[PHP] Re: secure sockets

2002-07-23 Thread Josh Levine
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 >

[PHP] Re: secure sockets

2002-07-23 Thread Richard Lynch
>I'm trying to connect to a Java application that's listening on a socket >using SSL. I am trying to use fsockopen with the address beginning with >ssl://, but it doesn't work. There's no error message that I can find, >it just doesn't create the file-handler. > >Here's some sample code: > > $ho