Re[2]: [PHP] Re: ini_get

From: Date: Mon, 07 Jun 2004 17:20:37 +0000
Subject: Re[2]: [PHP] Re: ini_get
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-187815@lists.php.net to get a copy of this message
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 -- http://www.launchcode.co.uk - PHP Development Services "I am not young enough to know everything." - Oscar Wilde

« previous php.general (#187815) next »