Re: settings file
| From: | user at domain dot invalid | Date: | Tue, 15 Apr 2003 11:04:10 +0000 |
| Subject: | Re: settings file | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-143910@lists.php.net to get a copy of this message | ||
Dan Rossi wrote:
hi guys i was wondering what is the best way to setup a settings file to set the global settings, i am looking intot he parse_ini_file funtion to setup ini files , although i would like the settings editable via a form, i have setup at the moment the settings stored in the database and make the information when updated writable to the ini file to save hammering the db all the time for the settings is this a good way to do this ?Are you asking about changing your php.ini file using a web browser? If so I am not quite sure what a database has to do with it ... Also, writing out a new php.ini file is all nice and dandy but the changes won't take effect unless you restart your web server .... Jean-Christian Imbeault