PHP Classes

File: parseini-sample.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Classes of Roy Cunningham  >  INI File Parser  >  parseini-sample.php  >  Download  
File: parseini-sample.php
Role: Example script
Content type: text/plain
Description: a sample script to demonstrate the use of the parseini class.
Class: INI File Parser
Parse INI files into an array
Author: By
Last change:
Date: 7 years ago
Size: 637 bytes


Class file image Download

 * This is an example for how to use the parseini class
 * $arr is returned as a multidimensional, associative array with each top level key representing
 * a section from the ini file. Below the top level keys are the variables and values.
 * Code written by Roy Cunningham - March 17, 2008 (rc<numberone> at hesperides dot ca)
 * This is licensed under the GPL - feel free to use and redistribute, but keep this license disclaimer intact.
 * Have fun!

include 'parseini.class.php';

$a = new parseini;