RE: [PHP4BETA] ssl check
[email protected] ("Harald Ponce de Leon")
| Newsgroups | php.version4 |
|---|---|
| Message-ID | <[email protected]> |
>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