#33946 [NEW]: setting 'magic_quotes_gpc' in the script should re-create GPC arrays

From: Date: Mon, 01 Aug 2005 13:43:23 +0000
Subject: #33946 [NEW]: setting 'magic_quotes_gpc' in the script should re-create GPC arrays
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-82769@lists.php.net to get a copy of this message
From: Arne dot Heizmann at csr dot com Operating system: Windows 2000 PHP version: 4.3.11 PHP Bug Type: PHP options/info functions Bug description: setting 'magic_quotes_gpc' in the script should re-create GPC arrays 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 bug report at http://bugs.php.net/?id=33946&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=33946&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=33946&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=33946&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=33946&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=33946&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=33946&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=33946&r=needscript Try newer version: http://bugs.php.net/fix.php?id=33946&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=33946&r=support Expected behavior: http://bugs.php.net/fix.php?id=33946&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=33946&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=33946&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=33946&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=33946&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=33946&r=dst IIS Stability: http://bugs.php.net/fix.php?id=33946&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=33946&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=33946&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=33946&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=33946&r=mysqlcfg

« previous php.bugs (#82769) next »