<?
/*
**************************************************************************Usage: $obj = new readini;
$var = $obj->ReadIniValue (file_name, key_name, var_name);
***************************************************************************/
include "readini.class.php";
$ini = new readini;
print $ini->ReadIniValue("test.ini", "company", "companyname");
print "<br>";
print $ini->ReadIniValue("test.ini", "company", "cityname");
print "<br>";
print $ini->ReadIniValue("test.ini", "country", "countryname");
print "<br>";
print $ini->ReadIniValue("test.ini", "amount", "cash");
print "<br>";
?>
|