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
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: 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: Tue Jun 16 09:00:02 2026 UTC