Bug #17808 Updated: Request: Document all predefined / reserved variables.

From: Date: Wed, 03 Jul 2002 20:55:36 +0000
Subject: Bug #17808 Updated: Request: Document all predefined / reserved variables.
References: 1  Groups: php.bugs php.doc 
Request: Send a blank email to php-bugs+get-13031@lists.php.net to get a copy of this message
ID: 17808 Updated by: philip@php.net -Summary: _$SERVER['HTTPS'] not documented Reported By: ricky@electricarrow.com -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] mfischer@php.net Well, it's actually a "Won't fix" then a bogus. ------------------------------------------------------------------------ [2002-07-02 17:19:10] eru@php.net 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] ricky@electricarrow.com 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] philip@php.net Should additional security information be mentioned within this description? Like, is this 100% reliable? ------------------------------------------------------------------------ [2002-06-17 18:39:18] ricky@electricarrow.com 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

« previous php.bugs (#13031) next »