php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #5277 set_cfg_var to match get_cfg_var
Submitted: 2000-06-29 22:20 UTC Modified: 2000-06-30 09:37 UTC
From: chris-php-bugs at digitaria dot com Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 4.0.0 Release OS: all
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: chris-php-bugs at digitaria dot com
New email:
PHP Version: OS:

 

 [2000-06-29 22:20 UTC] chris-php-bugs at digitaria dot com
It would be handy to have a companion function for get_cfg_var something like set_cfg_var($Directive, $Value). This could replace the current set_magic_quotes_gpc() function with a more generic version.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-06-30 09:37 UTC] andrei at cvs dot php dot net
You should be using ini_get() and ini_set() instead.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Jun 25 06:00:02 2026 UTC