Login   Register  
PHP Classes
elePHPant
Icontem

INI File Parser: Parse INI files into an array

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (3)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2008-05-30 (6 years ago) RSS 2.0 feedStarStar 31%Total: 615 This week: 1All time: 4,612 This week: 1,478Up
Version License PHP version Categories  
parseini 1.0GNU General Public Lice...4PHP 5, Files and Folders
Description Author  

This is a simple class that can be to parse INI files.

It uses regular expressions to extract the names and values of the entries in an INI file.

The results are returned in a bi-dimensional associative array on which the first dimension key is the file section name and the second dimension key is the entry name.

Picture of Roy Cunningham
Name: Roy Cunningham <contact>
Classes: 1 package by
Country: Canada Canada
Age: 42
All time rank: 266260 in Canada Canada
Week rank: 1120 Up24 in Canada Canada Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file parseini-sample.php Example a sample script to demonstrate the use of the parseini class.
Plain text file parseini.class.php Class class file - include this to use it.
Accessible without login Plain text file parseini.ini Data sample ini file

 Version Control Unique User Downloads Download Rankings  
 0%Total:615All time:4,612
 This week:1This week:1,478Up
User Ratings User Comments (2)  
 All time
Utility:41%StarStarStar
Consistency:41%StarStarStar
Documentation:-
Examples:66%StarStarStarStar
Tests:-
Videos:-
Overall:31%StarStar
Rank:2315