[PHP] secure sockets

2002-07-23 Thread Josh Levine
0 Warning: fclose(): supplied argument is not a valid File-Handle resource in /usr/home/research/htdocs/tests/secure.php on line 20 Thanks in advance for any help, Josh Levine -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] secure sockets

2002-07-23 Thread Josh Levine
Thanks for the pointer! I had looked at it, but didn't see too much information on using CURL with a telnet type application. I'll take a closer look at it. --Josh Levine Patrick Lynch wrote: > > Hi Josh, > > I have not done this myself but afaik, you can use c

Re: [PHP] secure sockets

2002-07-23 Thread Josh Levine
The docs for fsockopen() say I should use ssl:// (the docs for fopen() say to use https:// for a secure HTTP 1.0, which I don't want). I can go ahead and try it, though... --Josh Levine Peter wrote: > > josh just a query did u try it with https:// rather than ssl:// ? > >

[PHP] Re: secure sockets

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

Re: [PHP] secure sockets

2002-07-23 Thread Josh Levine
will support such a call (I just didn't notice the version number). > Curl would be your other option, and that should work just fine for most > uses. I don't know how you have the app set up but that may be what you > need. That's what I'll try next. --Josh L

[PHP] Re: secure sockets

2002-07-25 Thread Josh Levine
to use fsockopen(); with ssl:// I receive this message: 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? --Josh Levine -- PHP General Mailing List (http://w

[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

[PHP] snapshot windows build

2002-07-26 Thread Josh Levine
nce, Josh Levine -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP sockets/daemon problem

2002-06-26 Thread Josh Levine
eturn = fread($fp,4); echo $return; fclose($fp); } ?> I've tried various string format and type-casting functions with no results (usually just returns nothing after formatted). Any ideas? Thanks in advance, Josh Levine -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] PHP sockets/daemon problem

2002-06-26 Thread Josh Levine
Thanks! Those were a huge help...turns out the problem was with the daemon and not my code. --Josh Levine B I G D O G wrote: > > Some great articles for sockets...might help out... > > http://www.phpbeginner.com/columns/demitrious/sockets > http://www.phpbeginner.com/col