From: andi at grill dot to
Operating system: windows
PHP version: Irrelevant
PHP Bug Type: Documentation problem
Bug description: [chm] bug on security.magicquotes.disabling.html
Description:
------------
I have found a bug on page security.magicquotes.disabling.html
[chm date: 2005-07-31]...in Example 10.2. Disabling magic quotes at
runtime
This Code doesn't work properly because it doesn't updates the Super
Global $_REQUEST, which also gets escaped when magic_quotes is enabled. I
suggest adding just one line:
$_REQUEST = array_map('stripslashes_deep', $_REQUEST);
--
Edit bug report at http://bugs.php.net/?id=36972&edit=1
--
Try a CVS snapshot (PHP 4.4):
http://bugs.php.net/fix.php?id=36972&r=trysnapshot44
Try a CVS snapshot (PHP 5.1):
http://bugs.php.net/fix.php?id=36972&r=trysnapshot51
Try a CVS snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=36972&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=36972&r=fixedcvs
Fixed in release:
http://bugs.php.net/fix.php?id=36972&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=36972&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=36972&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=36972&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=36972&r=support
Expected behavior: http://bugs.php.net/fix.php?id=36972&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=36972&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=36972&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=36972&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=36972&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=36972&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=36972&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=36972&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=36972&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=36972&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=36972&r=mysqlcfg