RE: [PHP] Re: settings file

From: Date: Tue, 15 Apr 2003 12:56:48 +0000
Subject: RE: [PHP] Re: settings file
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-143917@lists.php.net to get a copy of this message
eeek noway never touch the php.ini file i meant this $settings = parse_ini_file('includes/parse.ini'); its global settings for my script -----Original Message----- From: user@domain.invalid [mailto:user@domain.invalid] Sent: Tuesday, April 15, 2003 9:04 PM To: php-general@lists.php.net Subject: [PHP] Re: settings file 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#143917) next »