Login   Register  
PHP Classes
elePHPant
Icontem

File: example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Andrey Nikishaev  >  Little INI Parser  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example
Class: Little INI Parser
Parse INI files and store values in arrays
Author: By
Last change: new version
Date: 5 years ago
Size: 332 bytes
 

Contents

Class file image Download
<?php
include_once('LittleIniParser.php');

// Default Separators
$sep_key='.';    //key separator
$sep_val=',';    //values separator
$mod=array(
'Config.php',     //Array with configs pathes
'module_config.ini'
);

// Parse config file
$config=Little_Ini_Parser::parse($mod $sep_key$sep_val);
    
print_r($config);