ID:               41001
 User updated by:  marc at bhosted dot nl
 Reported By:      marc at bhosted dot nl
 Status:           Open
 Bug Type:         PHP options/info functions
 Operating System: Linux version 2.4.21
 PHP Version:      5.2.1
 New Comment:

A little more information:

URL example: http://localhost/phpinfo.php?test=test'test

.htaccess:
<IfModule mod_php.c>
        php_flag magic_quotes_gpc off
</IfModule>

phpinfo.php Source:
<?php

print $_GET['test'];

phpinfo();

?>

Result:
test\'test

<phpinfo reports local magic_quotes_gpc is off, master magic_quotes_gpc
is on>


Previous Comments:
------------------------------------------------------------------------

[2007-04-05 08:38:50] marc at bhosted dot nl

Description:
------------
Using:
htscanner 0.8.1
PHP 5.2.1 as CGI (suphp).

Setting magic_quotes_gpc to off using .htaccess. phpinfo reports 
magic_quotes_gpc local is off, master is still on. Testing this with a
$_GET results in the slash still added



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=41001&edit=1

Reply via email to