Re: Re: ini_get

From: Date: Mon, 07 Jun 2004 17:36:42 +0000
Subject: Re: Re: ini_get
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-187821@lists.php.net to get a copy of this message
thank you very much. Richard Davey wrote:
Hi, Monday, June 7, 2004, 5:49:30 PM, you wrote: DG>> Does anyone know if ini_get returns the values BEFORE or AFTER the DG>> .htaccess modifies them? i.e., does it return the server or local DG>> version? BR> Perhaps you're misunderstanding what ini_get() does? ini_get() only BR> retrieves values from the php.ini file. I don't think you can modify BR> those values from an .htaccess file. You can modify any PHP_PERDIR/ALL value from an .htaccess file. In answer to the original question: if you use an htaccess file to modify a PHP value, ini_get will use the LOCAL version of that value (as opposed to the master version). So yes, anything changed via htaccess would be reflected via ini_get. Best regards, Richard Davey


« previous php.general (#187821) next »