Hello Sergey, PHP 4.3 will/does have SSL and TLS support integrated into the fopen and fsockopen functions. (see the online manual: http://php.net/fopen and http://php.net/fsockopen).
The current implementation requires that the openssl extension is built-in to php (rather than shared), and does not allow for using certificates (as your patch does). I'm not so keen on the way that you get the fd from the sockets extension, and would prefer to see those features integrated into PHP more fully, so... If you could read through the online docs for streams, take a look in main/network.c and main/streams.c and come up with an alternative patch that is integrated into the new streams API, I will review it and then most likely commit it. Feel free to ask me questions on streams (as a hint, the certificate stuff should probably use the stream_set_option API). Please also read the README.SUBMITTING-PATCH file before posting your next patch. Thanks for your efforts! --Wez. "Streams Guy" and openssl extension maintainer On 11/08/02, "Sergey A. Smitienko" <[EMAIL PROTECTED]> wrote: > Hello, > > I want to contribute some functions to openssl and sockets > extantions, like SSL/TSL support for internet connections. > > I've made some patches for 4.2.3 - you can see it on my > homepage: www.sergey-smitienko.com.ua/files/. -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php