#17808 [Ver]: Request: Document all predefined / reserved variables.

From: Date: Mon, 14 Nov 2005 23:05:03 +0000
Subject: #17808 [Ver]: Request: Document all predefined / reserved variables.
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969370868@lists.php.net to get a copy of this message
ID: 17808 Updated by: dmytton@php.net Reported By: ricky at electricarrow dot com Status: Verified Bug Type: Documentation problem Operating System: all PHP Version: Irrelevant New Comment: A useful table of all the available vars on different servers can be found at http://koivi.com/apache-iis-php-server-array.php - will probably be handy for expanding the list. Previous Comments: ------------------------------------------------------------------------ [2002-07-03 17:04:41] eru@php.net Moving it to "Verified", as we're in Bughunt-mode... ------------------------------------------------------------------------ [2002-07-03 16:55:35] philip@php.net 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. ------------------------------------------------------------------------ [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 at electricarrow dot 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. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/17808 -- Edit this bug report at http://bugs.php.net/?id=17808&edit=1

« previous php.doc (#969370868) next »