#50222 [Bgs]: can't disable magic_quotes_gpc support
ID: 50222
User updated by: carlo dot mendola at gmail dot com
Reported By: carlo dot mendola at gmail dot com
Status: Bogus
Bug Type: *Configuration Issues
Operating System: mac os x 10.6 snow leopard
PHP Version: 5.3.0
New Comment:
1) the php.ini that were you referring to are the same php.ini.default
i
found in /etc or there is another one to modify?
2) my php.ini.default has already magic_quotes_gpc disabled as you can
see in my previous post.
magic_quotes_gpc = Off
what else am i supposed to do to disable magic_quotes_gpc?
3) my phpinfo() report tells (none) as you can see beneath
Configuration File (php.ini) Path /etc
Loaded Configuration File (none)
Scan this dir for additional .ini files (none)
Additional .ini files parsed (none)
Could it be related to my problem?
Previous Comments:
------------------------------------------------------------------------
[2009-11-19 08:36:56] jani@php.net
So turn it off in php.ini and you're done.
------------------------------------------------------------------------
[2009-11-18 23:21:53] carlo dot mendola at gmail dot com
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 this bug report at http://bugs.php.net/?id=50222&edit=1
Thread (5 messages)