Re: New Package: INI

From: Date: Sat, 17 May 2003 09:36:34 +0000
Subject: Re: New Package: INI
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-16395@lists.php.net to get a copy of this message
<jorgen@webstores.nl> wrote : > Hi, > > The INI file format is an old and usefull format. Not every data-storage-task > requires > a database. Some information can be stored in INI files. So I created a Class > that > can deal with INI files. > > Source code: http://www.jorgenhorstink.nl/ini/ > > Functionlist: > - connect(); > - close(); > - createFile(String sName); > - dropKey(String sSection, String sKey); > - dropSection(String sSection); > - getLastError(); > - getKeys(String sSection); > - getSections(); > - keyExists(String sSection, String sKey); > - sectionExists(String sSection); > - setFile(String sName); > - read(String sSection, String sKey); > - write(String sSection [, String sKey [, String sValue); > > Can someone help me with deploying my package? What do I have to do, to make > you guys adding my package to the PEAR code base? Hi Jorgen, There is already a package in PEAR that deals with ini files, it's Config. There is a basic version that uses parse_ini_file and a version with more features that deals with comments, blank lines, duplicate directives, etc. It also deals with xml, php array, basic apache configuration files. You can review the code and tell me if you find something that's missing. Plans are made to support MACOSX plist, DB and WDDX. In case you want to contribute.... Bertrand Mansion Mamasam

« previous php.pear.dev (#16395) next »