ID: 17808 Updated by: [EMAIL PROTECTED] -Summary: _$SERVER['HTTPS'] not documented Reported By: [EMAIL PROTECTED] -Status: Won't fix +Status: Open Bug Type: Documentation problem -Operating System: Linux 2.2.14 +Operating System: all -PHP Version: 4.2.1 +PHP Version: all New Comment:
Making this a feature request to document and categorize every possible predefined / reserved variable. A fun task indeed :) A few things to keep in mind: - When the variable is or isn't available (like HTTP_HOST, HTTP_REFERER, HTTPS, PHP_SELF, HTTP_RAW_POST_DATA ...) - Keep in mind web servers, operating systems, modes (cgi, module, cli), and related settings/requirements. - Which ones are commonly available. - See also related sources, like HTTP spec. The creative question of the day is how to display and categorize all this information in a friendly manner. Previous Comments: ------------------------------------------------------------------------ [2002-07-02 17:32:48] [EMAIL PROTECTED] Well, it's actually a "Won't fix" then a bogus. ------------------------------------------------------------------------ [2002-07-02 17:19:10] [EMAIL PROTECTED] There are lots of other variables that get set, such as REDIRECT, when using mod_redirect, but this is server-dependent, whereas the variables stated in the manual-pages are ones, that you can (almost) surely expect on a normal server-installation. ------------------------------------------------------------------------ [2002-06-24 20:34:56] [EMAIL PROTECTED] I'm not sure what security information you are referring to. As for reliable, it's reliably been working for me for at least the past 3 releases. ------------------------------------------------------------------------ [2002-06-20 12:30:08] [EMAIL PROTECTED] Should additional security information be mentioned within this description? Like, is this 100% reliable? ------------------------------------------------------------------------ [2002-06-17 18:39:18] [EMAIL PROTECTED] The _$SERVER['HTTPS'] (& $HTTP_SERVER_VARS['HTTPS'] too) variable is not documented in http://www.php.net/manual/en/reserved.variables.php. The variable is only defined if the PHP script is viewed under https: and has a value of 'on'. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=17808&edit=1 -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php