#50222 [NEW]: can't disable magic_quotes_gpc support
From: carlo dot mendola at gmail dot com
Operating system: mac os x 10.6 snow leopard
PHP version: 5.3.0
PHP Bug Type: *Configuration Issues
Bug description: can't disable magic_quotes_gpc support
Description:
------------
i got a problem with mysql_real_escape_string because of this
assignment:
$myvar=mysql_real_escape_string($_POST['key']);
the value in $_POST['key'] contains a string already escaped.
I think it might be due to magic_quotes_gcp settings.
the phpinfo() tells that magic_quotes_gpc is On for both master and
local value.
The php.ini.default has the following settings:
; magic_quotes_gpc
; Default Value: On
; Development Value: Off
; Production Value: Off
magic_quotes_gpc = Off
magic_quotes_runtime = Off
magic_quotes_sybase = Off
--
Edit bug report at http://bugs.php.net/?id=50222&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=50222&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=50222&r=trysnapshot53
Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=50222&r=trysnapshot60
Fixed in SVN: http://bugs.php.net/fix.php?id=50222&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=50222&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=50222&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=50222&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=50222&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=50222&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=50222&r=support
Expected behavior: http://bugs.php.net/fix.php?id=50222&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=50222&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=50222&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=50222&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=50222&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=50222&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=50222&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=50222&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=50222&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=50222&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=50222&r=mysqlcfg
Thread (5 messages)
- carlo dot mendola at gmail dot com