ID: 12191
Updated by: jmoore
Reported By: [EMAIL PROTECTED]
Old Status: Assigned
Status: Closed
Bug Type: IIS related
Operating System: Win2K
PHP Version: 4.0.6
Old Assigned To: jmoore
Assigned To: 
New Comment:

This is to do with the way that IIS passes the varaibles to PHP in CGI/ISAPI mode. 
This isnt really a bug but perhaps this sort of thing (server set variables) should be 
somthing we standardise in 4.x or 5.0.

Cheers,

- James

Previous Comments:
------------------------------------------------------------------------

[2001-07-24 06:32:18] [EMAIL PROTECTED]

User Feedback:
==============
Hi James!

> Can you send me a list of these variables names 
> and we can get this fixed.

The variable names I am missing are:

CERT_COOKIE
CERT_FLAGS
CERT_ISSUER
CERT_KEYSIZE
CERT_SECRETKEYSIZE
CERT_SERIALNUMBER
CERT_SERVER_ISSUER
CERT_SERVER_SUBJECT
CERT_SUBJECT

I am attaching the output of the following script:

<?php
  echo $CERT_SUBJECT . "<BR>";
  echo $HTTP_ENV_VARS["CERT_SUBJECT"];

  phpinfo();
?>

As you will see the CGI-version knows both variables, while the
ISAPI-version
knows neither!


Another thing I noticed with PHP 4.0.2:

I have to use $HTTP_ENV_VARS["CERT_SUBJECT"] with CGI and
$HTTP_SERVER_VARS["CERT_SUBJECT"] with ISAPI.

Many thanks for your efforts
   Christian

 <<phpinfo406cgi.html>>  <<phpinfo406isapi.html>> 

===========================
Ill add these variables to the list as soon as I get 5 mins to think.

- James

------------------------------------------------------------------------

[2001-07-23 14:34:40] [EMAIL PROTECTED]

Can you send me a list of these variables names and we can get this fixed.

Thanks,

- James

------------------------------------------------------------------------

[2001-07-16 11:51:34] [EMAIL PROTECTED]

I am using the PHP 4.0.2 ISAPI-Modul with IIS 5.0 on Win2K which set the certificate 
environment variables 
(e.g. $HTTP_SEVER_VARS["CERT_SUBJECT"]) correctly.

Now I want to switch to PHP 4.0.6 but the variables are
missing in the ISAPI-Modul (phpinfo() shows them under
ISAPI but NOT under Environment!) but in CGI they are
here again.

greetings
  Christian



------------------------------------------------------------------------



Edit this bug report at http://bugs.php.net/?id=12191&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to