#32453 [Opn->Csd]: Confusing faq about emulating register_globals
| From: | vrana@php.net | Date: | Fri, 25 Mar 2005 12:42:27 +0000 |
| Subject: | #32453 [Opn->Csd]: Confusing faq about emulating register_globals | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969367091@lists.php.net to get a copy of this message | ||
ID: 32453
Updated by: vrana@php.net
Reported By: holliwell at gmx dot net
-Status: Open
+Status: Closed
Bug Type: Documentation problem
Operating System: n/a
PHP Version: Irrelevant
New Comment:
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation
better.
It's for telling the rest of the script that globals are (not)
registered (if tested with ini_get).
Previous Comments:
------------------------------------------------------------------------
[2005-03-25 12:19:02] holliwell at gmx dot net
Description:
------------
Hi,
http://de2.php.net/manual/en/ini.core.php#ini.register-globals
says register_globals is changeable PHP_INI_PERDIR.
However the faq entry about "Emulating Register Globals"
http://de2.php.net/manual/en/faq.misc.php#faq.misc.registerglobals
uses statements like:
ini_set('register_globals', true);
and
ini_set('register_globals', false);
The purpose of this statements isn't really clear.
The usage of this ini_set statements is conflicting with the
explanation of register_globals in the manual and where and how this
setting can be changed.
Kind regards
Friedhelm
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=32453&edit=1