note 33532 added to function.get-cfg-var

From: Date: Sun, 29 Jun 2003 23:30:08 +0000
Subject: note 33532 added to function.get-cfg-var
Groups: php.notes 
Request: Send a blank email to php-notes+get-51172@lists.php.net to get a copy of this message
There are many way to set and modify configuration PHP_INI_USER + PHP_INI_PERDIR + PHP_INI_SYSTEM + PHP_INI_ALL + ( PHP_INI_PERDIR OR PHP_INI_SYSTEM = value 6) So ini_get_all, is a good way to know if actual configuration is an user (local value) or a master setting (constant value ). And interestting if you coding a config system for user, you can always check it (for secure, restriction reasons) @digitalife at 163 dot com : 1. use ini_get_all 2. Work under 4.3.2-RC on XP (as cgi or as apache module) ---- Manual Page -- http://www.php.net/manual/en/function.get-cfg-var.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+33532 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+33532&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+33532&report=yes

« previous php.notes (#51172) next »