RE: [PHP4BETA] ssl check
| From: | Harald Ponce de Leon | Date: | Thu, 25 May 2000 04:40:54 +0000 |
| Subject: | RE: [PHP4BETA] ssl check | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-15694@lists.php.net to get a copy of this message | ||
>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.
ive used the following script on my secure server and i get no results
(except for REMOTE_ADDR which is just for testing)..
<?
//SSL_CIPHER, SSL_CIPHER_EXPORT, SSL_CIPHER_ALGKEYSIZE, SSL_USEKEYSIZE
echo 'REMOTE_ADDR=' . $REMOTE_ADDR . '<br>';
echo 'SSL_CIPHER=' . $SSL_CIPHER . '<br>';
echo 'SSL_CIPHER_EXPORT=' . $SSL_CIPHER_EXPORT . '<br>';
echo 'SSL_CIPHER_ALKEYSIZE=' . $SSL_ALGKEYSIZE . '<br>';
echo 'SSL_USEKEYSIZE=' . $SSL_USEKEYSIZE . '<br>';
?>
my server runs
Apache/1.3.12 (Unix) PHP/4.0b4pl1 mod_ssl/2.6.1 OpenSSL/0.9.5
under redhat6.0..
also tested this with php4rc2 under freebsd to no avail..
have you tested this? is there something special i have to do?
thanks!
Harald