Re: ini_get
| From: | Ben Ramsey | Date: | Mon, 07 Jun 2004 16:49:30 +0000 |
| Subject: | Re: ini_get | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-187808@lists.php.net to get a copy of this message | ||
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?
Please clarify what you mean by .htaccess modifying the values of your php.ini file.
Perhaps you're misunderstanding what ini_get() does? ini_get() only retrieves values from the php.ini file. I don't think you can modify those values from an .htaccess file. Likewise, ini_set() will set/change the values of the php.ini configuration from the application level (but it will not permanently change the values in php.ini).
Please see http://www.php.net/ini_get and http://www.php.net/ini_set for more information.
--
Regards,
Ben Ramsey
http://benramsey.com
---------------------------------------------------
http://www.phpcommunity.org/
Open Source, Open Community
Visit for more information or to join the movement.
---------------------------------------------------