PHP Classes
elePHPant
Icontem

File: examples/exampleConfig.php

Recommend this page to a friend!
  Classes of Thomas Björk  >  Fuse Array  >  examples/exampleConfig.php  >  Download  
File: examples/exampleConfig.php
Role: Example script
Content type: text/plain
Description: Example to read ini-file to use as an config
Class: Fuse Array
Manage arrays with read only properties
Author: By
Last change: Moved to GitHub
Date: 5 years ago
Size: 177 bytes
 

 

Contents

Class file image Download
<?php
include('../extends/configarray.php');

$config = ConfigArray::ConvertIni('./exampleConfig.ini');
foreach(
$config as $key => $value) {
  echo
$key.' - '.$value.PHP_EOL;
}