note 14299 added to function.ini-get.php
| From: | paul at myitcv dot org dot uk | Date: | Wed, 25 Jul 2001 17:14:46 +0000 |
| Subject: | note 14299 added to function.ini-get.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-15840@lists.php.net to get a copy of this message | ||
I had problems while trying to set session.* directives (or any run time directive for that matter).
I was using get_cfg_var("var_name_here"); to check that values within my .htaccess file
were being set properly. THIS WILL NOT WORK as it reads the master value (ie the value as set in
php.ini or similar). Use ini_get() to get value as applied to scripts under the influence of the
.htacess file.
http://www.php.net/manual/en/function.ini-get.php