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 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: 7 years ago
Size: 228 bytes
 

Contents

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

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