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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Mon Jul 28 04:00:02 2025 UTC