Re: [PHP4BETA] ssl check
[email protected] (Steve Langasek)
| Newsgroups | php.version4 |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 24 May 2000, Harald Ponce de Leon wrote: > ive seen a neat cgi script at > https://mystic.pca.dfn.de/cgi/sslcheck.cgi > that can check the ssl connection you make to a secure webserver.. > the cgi gets the environment values from apache, is this possible for php to > do? > SSL_CIPHER, SSL_CIPHER_EXPORT, SSL_CIPHER_ALGKEYSIZE, SSL_USEKEYSIZE do not > show up with phpinfo(), and does not work when getenv is used.. > anyone know how these variables can be called? It's even easier than calling getenv. :) PHP stores these variables as actual PHP variables. So to get the value of the SSL_CIPHER, you can just use $SSL_CIPHER. And thank you for posting. I have an application I'm working on where I need to check those variables. Now I don't have to go look them up. :) Cheers, Steve Langasek postmodern programmer