PHP Classes

File: test_config2.php

Recommend this page to a friend!
  Classes of Guilherme Blanco   pConfig   test_config2.php   Download  
File: test_config2.php
Role: Example script
Content type: text/plain
Description: Second Test
Class: pConfig
Manage hierarchical configuration files
Author: By
Last change:
Date: 19 years ago
Size: 349 bytes
 

Contents

Class file image Download
<?php

require_once "class.pConfig.php";

// Checks if Module pConfig is loaded
if (defined("MOD_PCONFIG"))
    echo
"<h1>pConfig Module Loaded</h1>\n";

// Open Configuration File and Generate Tree Structure
$config = new pConfig("config_generated.ini.php");

// Testing output
echo "<pre>";
print_r($config);
echo
"</pre>";

?>