php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #7300 magic_quotes_gpc default value
Submitted: 2000-10-17 19:30 UTC Modified: 2001-02-10 14:48 UTC
From: neva at nevalabs dot org Assigned:
Status: Closed Package: Documentation problem
PHP Version: 4.0.3pl1 OS: Linux
Private report: No CVE-ID: None
 [2000-10-17 19:30 UTC] neva at nevalabs dot org
Since version 4.0.2, the default value of magic_quotes_gpc 
suddenly changed to "on". This is not documented, and caused
many problems with scripts here, that addslashed some variables (causing double-addslashing).
Is it possible to implement functions to change this kind of configuration on runtime ?! It should solve many people problems... and I still think that the default value for magic_quotes_gpc should be "off"! The paranoid could turn it on changing the configuration file (or at runtime, if you guys implement it! :)

Thanks for your attention,
Claudio Neves

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-02-10 14:48 UTC] jimw@php.net
php.ini-dist is the documentation of the defaults. being able to specify magic_quotes_gpc in the page is filed as a feature request elsewhere.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 02:01:30 2024 UTC