http://www.php.net/manual/en/configuration.php
Richard Davey wrote:
Hello Ben,
Monday, June 7, 2004, 6:15:11 PM, you wrote:
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.
BR> All right. Clue me in here. How can an .htaccess file set/modify the BR> values of php.ini? I wasn't aware that you could do that.
See Chapter 4 of the PHP Manual - specifically Runtime Configuration for all the details, but basically you do:
php_value name value php_flag name on|off php_admin_value name value php_admin_flag name on|off
In your htaccess file. Note this only works if PHP is an Apache module.
Best regards,
Richard Davey
-- Regards, Ben Ramsey http://benramsey.com
--------------------------------------------------- http://www.phpcommunity.org/ Open Source, Open Community Visit for more information or to join the movement. ---------------------------------------------------
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php