PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of Silvio Rainoldi   ianaz configuration class   example.php   Download  
File: example.php
Role: Example script
Content type: text/plain
Description: the example
Class: ianaz configuration class
Generate a configuration file as a PHP script
Author: By
Last change:
Date: 16 years ago
Size: 228 bytes
 

Contents

Class file image Download
<?php
$cfg
= new Configurazione("cfg.php", "cfg");
$cfg->addVariabile($arrCFG, false);

// This method create the file with variables
$cfg->generaFile();
// Get a value of the config file
echo $cfg->getValore('nome');
?>