Hi,


I found the following e-mail in a PHP Development Archive, and I have exactly the same questions... ufnortunately there was no answer in the archive, only the pointer to e-mail this list. If you can help me, it would be greatly appreciated!

Alvar


To: <mailto:[EMAIL PROTECTED]>php-dev at lists dot php dot net
From: "LUNAR" <<mailto:[EMAIL PROTECTED]>office at lunar dot com dot pl>
Date: Thu, 28 Mar 2002 10:58:14 +0100
list-help: <<mailto:[EMAIL PROTECTED]>mailto:[EMAIL PROTECTED]>
list-post: <<mailto:[EMAIL PROTECTED]>mailto:[EMAIL PROTECTED]>
list-unsubscribe: <<mailto:[EMAIL PROTECTED]>mailto:[EMAIL PROTECTED]>




Hi,

    Can anyone tell me how can I check the following values in PHP? The
following is a PERL transcription:

unless ( $ENV{'SSL_CLIENT_VERIFY'}
and ($ENV{'SSL_CLIENT_VERIFY'} eq 'SUCCESS')
and ($ENV{'SSL_CLIENT_S_DN_O'} eq 'TestCompany')) {
and ($ENV{'SSL_CLIENT_S_DN_L'} eq 'WARSAW')
and ($ENV{'SSL_CLIENT_S_DN_CN'} eq 'abc.def..pl')
and ($ENV{'SSL_CLIENT_S_DN_C'} eq 'PL')
and ($ENV{'SSL_CLIENT_I_DN_O'} eq 'Thawte Consulting cc')) {
and ($ENV{'SSL_CLIENT_I_DN_CN'} eq 'Thawte Server CA')) {
and ($ENV{'SSL_CLIENT_I_DN_C'} eq 'ZA')
exit;

If I chjeck the $_GLOBALS variable array in PHP I only get the values of
SSL_SERVER. $ENV does not have this values.

Thanks,
Artur Zas



-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to