From 512afd3c554c693d07b41d375ea8c48a813ea45a Mon Sep 17 00:00:00 2001 From: Andy Lindeman Date: Thu, 28 Mar 2002 17:06:54 +0000 Subject: [PATCH] new superglobals git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@75635 c90b9560-bf6c-de11-be94-00142212c4b1 --- chapters/config.xml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/chapters/config.xml b/chapters/config.xml index fea5315a4b..0a337ce7f2 100644 --- a/chapters/config.xml +++ b/chapters/config.xml @@ -1,5 +1,5 @@ - + Configuration @@ -638,16 +638,16 @@ include_path=".;c:\www\phplib" sense when coupled with track_vars - in which case you can access all of the EGPCS variables through the - $HTTP_ENV_VARS, - $HTTP_GET_VARS, - $HTTP_POST_VARS, - $HTTP_COOKIE_VARS, and - $HTTP_SERVER_VARS + $_ENV, + $_GET, + $_POST, + $_COOKIE, and + $_SERVER arrays in the global scope. Please note that you need to set AllowOveride All in your - Directory block in the apache configfile for this to work. + Directory block in the apache config file for this to work. @@ -699,11 +699,11 @@ include_path=".;c:\www\phplib" If enabled, then Environment, GET, POST, Cookie, and Server variables can be found in the global associative arrays - $HTTP_ENV_VARS, - $HTTP_GET_VARS, - $HTTP_POST_VARS, - $HTTP_COOKIE_VARS, and - $HTTP_SERVER_VARS. + $_ENV, + $_GET, + $_POST, + $_COOKIE, and + $_SERVER. Note that as of PHP 4.0.3,