Bug #12557 Updated: register_globals can not be set using ini_set.
| From: | andy@php.net | Date: | Fri, 03 Aug 2001 18:49:11 +0000 |
| Subject: | Bug #12557 Updated: register_globals can not be set using ini_set. | ||
| References: | 1 | Groups: | php.dev php.doc |
| Request: | Send a blank email to php-dev+get-62005@lists.php.net to get a copy of this message | ||
ID: 12557
Updated by: andy
Reported By: boyzone_2001@yahoo.com
Status: Analyzed
Bug Type: Documentation problem
Operating System: win/linux both
PHP Version: 4.0.4pl1
New Comment:
and not with ini_set
Previous Comments:
------------------------------------------------------------------------
[2001-08-03 14:48:49] andy@php.net
i think that the documentation should say that register
globals can be set with .htaccess, php.ini, or httpd.conf.
------------------------------------------------------------------------
[2001-08-03 14:34:49] boyzone_2001@yahoo.com
i found it here.
http://www.php.net/manual/en/function.ini-set.php
jd
------------------------------------------------------------------------
[2001-08-03 14:32:50] boyzone_2001@yahoo.com
yeah i know that.
but atleast in documentation u can chanage it so that other user wont try the same thing.
thats y i am posting this !!
jd
------------------------------------------------------------------------
[2001-08-03 14:32:34] andy@php.net
ok, didn't read the whole thing. Which documentation page
did you see this on?
------------------------------------------------------------------------
[2001-08-03 14:28:37] andy@php.net
this is supposed to happen, think about it.
By the time you get to the ini_set statement, PHP has
already "registered the globals" :) Use either php.ini,
.htaccess, or httpd.conf
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/?id=12557
Edit this bug report at http://bugs.php.net/?id=12557&edit=1