ID:               40031
 Updated by:       [EMAIL PROTECTED]
 Reported By:      matteo at beccati dot com
-Status:           Open
+Status:           Closed
 Bug Type:         Documentation problem
 Operating System: Windows 2003 Server
 PHP Version:      5.2.0
 New Comment:

This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation
better.




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

[2007-01-05 15:41:52] matteo at beccati dot com

I beg to differ, that's why I've reopened the report and marked it as
"Documentation problem".

As an open source developer, how am I supposed to test every possible
environment for so tiny differences if a standard seems to be clearly
reported on the manual?

'HTTPS'
Set to a non-empty value if the script was queried through the HTTPS
protocol.

Which is correct when using Apache and wrong when using IIS/ISAPI. IMHO
this deserves at least a note.

Of course, if you prefer, I could write a patch for the ISAPI sapi to
make the behaviour consistent with Apache.

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

[2007-01-05 15:15:33] [EMAIL PROTECTED]

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.

The HTTPS var comes from IIS, PHP imports it along with other 
server variables.

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

[2007-01-05 13:37:31] matteo at beccati dot com

Description:
------------
When using isapi with IIS6 the variable seems to be always set to
either "on" or "off", but the manual states that $_SERVER['HTTPS'] has
a non-empty value when SSL is enabled (true on Apache, but either wrong
or misleading) 

Feel free to mark this bug as a documentation problem: I don't know if
it's really a wrong behaviour of php-isapi.

Also replicated on IIS5.1/WinXP Pro

Reproduce code:
---------------
var_dump($_SERVER['HTTPS']);

Expected result:
----------------
NULL

Actual result:
--------------
string(3) "off"



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


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

Reply via email to