note 33532 deleted from function.get-cfg-var by nlopess
| From: | nlopess@php.net | Date: | Wed, 28 Jan 2004 15:21:01 +0000 |
| Subject: | note 33532 deleted from function.get-cfg-var by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-64317@lists.php.net to get a copy of this message | ||
Note Submitter: fabrice@vignals_nospam.com
----
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)