PHP Classes

Parse INI: Parse INI files and get values into arrays

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2012-09-10 (3 years ago) RSS 2.0 feedNot enough user ratingsTotal: 407 All time: 6,077 This week: 1,084Up
Version License PHP version Categories  
parse-ini-file 1.0The PHP License5PHP 5, Configuration
Description Author  

This class can parse INI files and get values into arrays.

It can parse a given configuration file in the .INI format and builds associative arrays with the list of properties separated by section.

Sections that have names with colons are treated as sub-sections of parent sections without colons.

Picture of Marko Schulz
Name: Marko Schulz <contact>
Classes: 6 packages by
Country: Germany Germany
Age: 43
All time rank: 60340 in Germany Germany
Week rank: 452 Up10 in Germany Germany Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.ini Data Example INI File
Accessible without login Plain text file example.php Example Example Script
Plain text file parseini.class.php Class Class File

 Version Control Unique User Downloads Download Rankings  
 0%Total:407All time:6,077
 This week:0This week:1,084Up
 User Comments (1)  
Simple, clear and efficient, not bad ;)
3 years ago (Molliné)