note 7694 added to get_cfg_var
| From: | eric dot kidd at pobox dot com | Date: | Fri, 11 Aug 2000 18:16:03 +0000 |
| Subject: | note 7694 added to get_cfg_var | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-1370@lists.php.net to get a copy of this message | ||
They're not kidding about get_cfg_var ignoring configuration variables set from within Apache.
In general, you can't rely on this function to give you the value of a configuration option
that actually *applies* to your script. It returns values from the "Master Value" column
from phpinfo, not the "Local Value" column.
http://www.php.net/manual/function.get-cfg-var.php