#33946 [WFx]: setting 'magic_quotes_gpc' in the script should re-create GPC arrays
| From: | Arne dot Heizmann at csr dot com | Date: | Mon, 01 Aug 2005 18:07:15 +0000 |
| Subject: | #33946 [WFx]: setting 'magic_quotes_gpc' in the script should re-create GPC arrays | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-82771@lists.php.net to get a copy of this message | ||
ID: 33946
User updated by: Arne dot Heizmann at csr dot com
Reported By: Arne dot Heizmann at csr dot com
Status: Wont fix
Bug Type: PHP options/info functions
Operating System: Windows 2000
PHP Version: 4.3.11
New Comment:
Have you read my proposal at all? "this will not change" is not very
much of an explanation. The current way is not useful to anyone at all.
Previous Comments:
------------------------------------------------------------------------
[2005-08-01 16:53:46] edink@php.net
Some settings like magic_quotes_* have only effect on things run before
PHP script execution starts, and this will not change.
------------------------------------------------------------------------
[2005-08-01 15:43:22] Arne dot Heizmann at csr dot com
Description:
------------
The following code:
ini_set ('magic_quotes_gpc') = 'Off';
does not have any effect. This is devastatingly bad for people who want
to run their scripts on a server where they don't have access to
php.ini.
I propose that a call to ini_set that changes the value of
'magic_quotes_gpc' should trigger a re-parsing of the input values
(get, post, cookies) and re-fill the superglobal arrays with the new
setting in mind.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=33946&edit=1