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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: neva at nevalabs dot org
New email:
PHP Version: OS:

 

 [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: Sun Apr 28 10:01:30 2024 UTC