Re: Best way to create a preference-file?

From: Date: Thu, 13 Feb 2003 11:14:35 +0000
Subject: Re: Best way to create a preference-file?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-135409@lists.php.net to get a copy of this message
What about an .ini file? http://www.php.net/manual/en/function.parse-ini-file.php If you want read/write from php, try a searching http://www.phpclasses.org/ for inifile. Mark Victor wrote: "Victor spång arthursson" <scooterbabe@home.se> wrote in message news:CA926E3D-3F41-11D7-B2CC-00039344A3C4@home.se... I would like to create a file that holds the preferences for a site, for example the name of the database, the size of thumbnail pictures etc… But which is the best way to do this and to access the file? It would be nice with an xml-file, but perhaps it is an overkill… Anyway it must be possible to update the file in an easy way, that is, not rewrite it but update it… Sincerely Victor

« previous php.general (#135409) next »