Hello Peter, Thanks a lot! And is there a way to set (write) custom values in files other than php.ini? Sorry, didn't find such a function.
-- With best regards from Ukraine, Andre Skype: Francophile My blog: http://oire.org/menelion (mostly in Russian) Twitter: http://twitter.com/m_elensule Facebook: http://facebook.com/menelion ------------ Original message ------------ From: Peter Lind <peter.e.l...@gmail.com> To: Andre Polykanine Date created: , 10:44:31 PM Subject: [PHP] Re: Config files: what is best? (was: Re: [PHP] XML... Useful or another layer of complexity?) On 3 April 2011 21:41, Andre Polykanine <an...@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> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php