Re: [PHP4BETA] ssl check

From: Date: Wed, 24 May 2000 14:39:48 +0000
Subject: Re: [PHP4BETA] ssl check
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-15670@lists.php.net to get a copy of this message
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

« previous php.version4 (#15670) next »