PHP Classes

File: sample_usage.php

Recommend this page to a friend!
  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: 22 years ago
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>