aidan Sat Sep 11 09:46:42 2004 EDT
Modified files:
/phpdoc/en/faq misc.xml
Log:
Added note about security section, and what to use instead of register_globals
http://cvs.php.net/diff.php/phpdoc/en/faq/misc.xml?r1=1.18&r2=1.19&ty=u
Index: phpdoc/en/faq/misc.xml
diff -u phpdoc/en/faq/misc.xml:1.18 phpdoc/en/faq/misc.xml:1.19
--- phpdoc/en/faq/misc.xml:1.18 Sat Sep 11 09:34:02 2004
+++ phpdoc/en/faq/misc.xml Sat Sep 11 09:46:42 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.18 $ -->
+<!-- $Revision: 1.19 $ -->
<chapter id="faq.misc">
<title>Miscellaneous Questions</title>
<titleabbrev>Miscellaneous Questions</titleabbrev>
@@ -102,6 +102,17 @@
</para>
</question>
<answer>
+ <para>
+ For information about the security implications of
+ <literal>register_globals</literal>, read the security chapter on
+ <link linkend="security.globals">Using register_globals</link>.
+ </para>
+ <para>
+ It's preferred to use
+ <link linkend="language.variables.superglobals">superglobals</link>,
+ rather than relying upon <literal>register_globals</literal> being on.
+ </para>
+ </para>
<para>
If you are on a shared host with <literal>register_globals</literal> turned
off and need to use some legacy applications, which require this option