Read and write configuration files the format xml with Zend_Config


1. Read ini file.


 I have a configuration file /application/configs/db.ini as follows:



We use the class to read file Zend_Config_Xml db.xml


Output:



2.Write xml file




My01.xml output file:



No comments:

Post a Comment