philip Fri Apr 28 17:05:47 2006 UTC
Modified files:
/phpdoc/en/faq misc.xml
Log:
Refer to variables_order and sessions in the "emulate register_globals" faq
http://cvs.php.net/viewcvs.cgi/phpdoc/en/faq/misc.xml?r1=1.26&r2=1.27&diff_format=u
Index: phpdoc/en/faq/misc.xml
diff -u phpdoc/en/faq/misc.xml:1.26 phpdoc/en/faq/misc.xml:1.27
--- phpdoc/en/faq/misc.xml:1.26 Thu Aug 18 20:49:16 2005
+++ phpdoc/en/faq/misc.xml Fri Apr 28 17:05:47 2006
@@ -1,5 +1,5 @@
-
+
Miscellaneous Questions
Miscellaneous Questions
@@ -126,7 +126,9 @@
Emulating Register Globals
-This will emulate register_globals On.
+This will emulate register_globals On. If you altered your
+variables_order directive,
+consider changing the $superglobals accordingly.
-This will emulate register_globals Off. Keep in mind, that this code
should be called in the very beginning of your script.
+This will emulate register_globals Off. Keep in mind, that this code
+should be called at the very beginning of your script, or after
+session_start if you use it to start your session.