Have a look at http://www.zfforum.de/showthread.php?t=1453
It's a german page, but you should be able to copy some source :-D

Best regards


Vincent-20 wrote:
> 
> Hi,
> 
> For my project, I'd like to be able to update INI files. Since
> Zend_Config_Ini does not have the ability to write to files, I was looking
> for a different library that is open source and able to write INI files to
> disk, preferable working with Zend_Config_Ini (if it can take an array of
> configuration data that'd be great).
> I have already looked at the eZ Components configuration class (
> http://ezcomponents.org/docs/tutorials/Configuration) but found that it
> doesn't quite fit my needs as 1) it also has to read the configuration
> files
> itself, but more importantly 2) doesn't use "real" INI files (e.g.
> comments
> are marked with a "#", not a ";").
> Highly preferred would be a class that can update existing files so
> comments
> in those files do not get lost.
> 
> Thanks,
> -- 
> Vincent
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Library-for-writing-config-%28INI%29-files-to-disk--tp15830600s16154p15847800.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to