ID:               43724
 Updated by:       [EMAIL PROTECTED]
 Reported By:      caodingpeng at gmail dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         *General Issues
 Operating System: windows XP sp2
 PHP Version:      5.2.5
 New Comment:

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

That variable is set by some webserver when SSL is activated, not by
all. PHP just offers what the server provides.


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

[2008-01-02 02:55:21] caodingpeng at gmail dot com

Description:
------------
in the doc file, it says:
reserverd variable $_SERVER has "HTTPS" element,but when i use it ,it
does not work.


Reproduce code:
---------------
echo $_SERVER["HTTPS"]

Expected result:
----------------
should be the same with php doc:
'HTTPS'
Set to a non-empty value if the script was queried through the HTTPS
protocol. 
Note that when using ISAPI with IIS, the value will be off if the
request was not made through the HTTPS protocol. 

Actual result:
--------------
Notice: Undefined index: HTTPS


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


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

Reply via email to