Re: Any tutorial/article on PEAR::Config?

From: Date: Thu, 03 Jul 2003 08:13:38 +0000
Subject: Re: Any tutorial/article on PEAR::Config?
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-6425@lists.php.net to get a copy of this message
<alessandro.bottoni@infinito.it> wrote : > I just had a look at PEAR::Config and I was shocked by the example of the n-th > dimensional array it could return after having parsed a XML or INI file. > > Does anybody can address me to any tutorial, article or any example of use of > PEAR::Config? I just have to parse a INI (or XML) file, load its parameters > and use them in my code. If you need to parse an ini file, there's no need to add overhead to your code by using the Config package, use parse_ini_file() instead. The Config package should be used only for manipulating config files (create, delete, modify directives). XML files is another story and you can use Config, would it be to read them or convert them to an array. There is some (work in progress) documentation about this package on pear website. Good luck, Bertrand Mansion Mamasam

« previous php.pear.general (#6425) next »