JN> ini_get() will return the current value for the ini_setting... JN> doesn't matter if it's from the php.ini, ini_set() or a JN> .htaccess file.
All right. Clue me in here. How can an .htaccess file set/modify the values of php.ini? I wasn't aware that you could do that.
Say I want to set my include_path to something else, but don't want to have to add ini_set to every file in the site. I create an .htaccess file in the top level directory where I want the change made, with this line...
php_value include_path ".:/path/to/new/include/directory"
You can also do this in the Apache httpd.conf, the only difference being that a change to the httpd.conf requires a restart of Apache, and an .htaccess takes effect right away.
It doesn't physically overwrite the php.ini file, just changes the value of the setting. You can do this for all settings that you can change with ini_set()
-- John C. Nichel KegWorks.com 716.856.9675 [EMAIL PROTECTED]
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php