Re: Config files: what is best? (was: Re: [PHP] XML... Useful or another layer of complexity?)

From: Date: Sun, 03 Apr 2011 19:44:31 +0000
Subject: Re: Config files: what is best? (was: Re: [PHP] XML... Useful or another layer of complexity?)
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-312230@lists.php.net to get a copy of this message
On 3 April 2011 21:41, Andre Polykanine <andre@oire.org> wrote: > Hello Peter, > > Just because you mentioned config files. > What  would  you suggest me as better format for them? Database is not > available  yet  since  I  need to make a config file before creating a > database. For config files I would suggest plain text config files - in the style of key = value php has built-in functions for reading those, so parsing them is very fast and easy. See http://dk2.php.net/manual/en/function.parse-ini-file.php Regards Peter -- <hype> WWW: plphp.dk / plind.dk LinkedIn: plind BeWelcome/Couchsurfing: Fake51 Twitter: kafe15 </hype>

« previous php.general (#312230) next »