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 Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to