Login   Register  
PHP Classes
elePHPant
Icontem

File: sample_usage.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Marc Charbonneau  >  configfile  >  sample_usage.php  >  Download  
File: sample_usage.php
Role: Example script
Content type: text/plain
Description: Sample to show how to use
Class: configfile
Config files editor
Author: By
Last change: modified to include new params of constructor
Date: 2002-11-07 06:41
Size: 370 bytes
 

Contents

Class file image Download
<html>
 <head><title>configfile class test</title></head>
<body>
<?php
  
require ("configfile.class.php");
  
// give full authority (can add/delete vars and edit comments)
  
$fconfig = new ConfigFile("vars.inc.php",true,true,true);
  
//this would let only change the value of the variables
//  $fconfig = new ConfigFile("vars.inc.php");

?>
</body>
</html>