Login   Register  
PHP Classes
elePHPant
Icontem

Class: INI File Parser

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Roy Cunningham  >  INI File Parser  >  Download .tar.gz .zip  >  Support forum Support forum (3)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: INI File Parser
Base name: parseini
Description: Parse INI files into an array
Related classes: , , , , ,
Version: 1.0
PHP version: 4
License: GNU General Public License (GPL)
All time users: 556 users
All time rank: 4260
Week users: 1 user
Week rank: 2467
Picture of Roy Cunningham
Author: Roy Cunningham <e-mail contact>
Packages: 1 Browse this author's classes Browse this author's classes
Country: Canada Canada - PHP jobs in Canada
Age: 40
All time rank: 242156 in Canada Canada
Week rank: 1634 Up38 in Canada Canada Up


  Detailed description  
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.

 

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Files and Folders Listing, accessing and manipulating files and folders View top rated classes

  Rate classes User ratings   Applications   Files Files  

  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Not sure (41.7%)
Not sure (41.7%)
-
Sufficient (66.7%)
-
-
Insufficient (31.7%)
2151
Month:
Not yet rated by the users

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
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.
Plain text file parseini.ini Data sample ini file

Download all files: parseini.tar.gz parseini.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.