php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2062 magic_quotes_gpc can't be turned off
Submitted: 1999-08-15 08:38 UTC Modified: 1999-10-05 17:47 UTC
From: tarvin at mdb dot ku dot dk Assigned:
Status: Closed Package: Other
PHP Version: 3.0.12 OS: Linux
Private report: No CVE-ID: None
 [1999-08-15 08:38 UTC] tarvin at mdb dot ku dot dk
Once magic_quotes_gpc has been turned on in a htaccess file, it can't be turned off again in a subsequent htaccess file.

Bug demonstration at http://www.fsr.ku.dk/people/troels/nomagic/

System: Red Hat 6 on an Intel CPU. glibc opdated to the glibc-2.1.2 package from Red Hat's "rawhide" distribution.

PHP running as Apache module. configure line:
--with-apxs \
--prefix=/usr \
--with-config-file-path=/etc/httpd/conf \
--with-gdbm \
--with-mysql \
--with-system-regex \
--with-gd \
--with-ttf \
--with-memory-limit \
--enable-url-includes

My php3.ini file:
[PHP_3]
include_path = ".:/home/httpd/includes";
mysql.allow_persistent  = On
mysql.max_persistent    = 50

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-10-05 17:47 UTC] rasmus at cvs dot php dot net
This should be fixed in the current CVS version
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue May 07 18:01:31 2024 UTC