[PHP-DOC] cvs: phpdoc /en/chapters config.xml From: James Moore (James <email protected>)
Date: 08/23/00

jmoore Wed Aug 23 04:11:16 2000 EDT

  Modified files:
    /phpdoc/en/chapters config.xml
  Log:
  Added register_globals information.
  
Index: phpdoc/en/chapters/config.xml
diff -u phpdoc/en/chapters/config.xml:1.6 phpdoc/en/chapters/config.xml:1.7
--- phpdoc/en/chapters/config.xml:1.6 Tue Aug 22 12:11:29 2000
+++ phpdoc/en/chapters/config.xml Wed Aug 23 04:11:15 2000
@@ -468,7 +468,25 @@
         </para>
        </listitem>
       </varlistentry>
-
+
+ <varlistentry id="ini.register-globals">
+ <term>
+ <parameter>register_globals</parameter>
+ <type>boolean</type>
+ </term>
+ <listitem>
+ <para>
+ Tells whether or not to register the EGPCS variables as global
+ variables. You may want to turn this off if you don't want
+ to clutter your scripts' global scope with user data. This makes
+ most sense when coupled with <link linkend="ini.track-vars">track_vars</link>
+ - in which case you can access all of the GPC variables through the
+ <symbol>$HTTP_GET_VARS</symbol>, <symbol>$HTTP_POST_VARS</symbol> and
+ <symbol>$HTTP_COOKIE_VARS</symbol> variables.
+ </para>
+ </listitem>
+ </varlistentry>
+
       <varlistentry id="ini.short-open-tag">
        <term>
         <parameter>short_open_tag</parameter>