SSL_CLIENT

From: Date: Thu, 28 Mar 2002 09:58:14 +0000
Subject: SSL_CLIENT
Groups: php.dev 
Request: Send a blank email to php-dev+get-81878@lists.php.net to get a copy of this message
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

« previous php.dev (#81878) next »