Using SSL with PHP5's socket_* functions
| From: | dan | Date: | Wed, 02 Feb 2005 20:27:55 +0000 |
| Subject: | Using SSL with PHP5's socket_* functions | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-207931@lists.php.net to get a copy of this message | ||
Hello, all -
I am a bit new to PHP, especially sockets, so what I am asking may very well be comparing apples to oranges.
I am writing a function to interact with an SSL server, but I see no way of how I can communicate over SSL. I expected to be able to enter an address such as https://10.10.10.10 into socket_connect(), but it fails. Maybe because this isn't even a supported/allowed argument.
Is it possible to use SSL with any of the socket_* functions in PHP5?
Again, I feel like a real tool asking this. I'm just trying to understand as best I can.
Thanks for the time
-dant