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.lind@xxxxxxxxx> To: Andre Polykanine Date created: , 10:44:31 PM Subject: Re: Config files: what is best? (was: Re: [PHP] XML... Useful or another layer of complexity?) On 3 April 2011 21:41, Andre Polykanine <andre@xxxxxxxx> 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