<?php
 
 
require_once( "ini_fn.php" );
 
 
//set_params_ini( "One", "opt2", "how come are you there?", "test.ini" ) ;
 
//echo get_params_ini( "One", "opt2", "test.ini" ) ;
 
 
//echo get_params_ini( "Fourth", "opt16", "test.ini" ) ;
 
 
/*
 
delete_entry_ini("Three", "opt10", "test2.ini");
 
echo "the record has been removed.";
 
*/
 
 
/*
 
delete_key("Three", "test2.ini");
 
echo "the record (s) has been added.";
 
*/
 
 
/*
 
delete_all_keys("test2.ini");
 
echo "the record (s) has been added.";
 
*/
 
 
 
show_ini("test2.ini");
 
 
 
/*
 
if ( find_entry( "test2.ini", "Three", "opt6" ) )
 
 echo "the entry record has been found.";
 
else
 
 echo "the entry record has not been found.";
 
 */
 
 
/*
 
if ( find_key( "test2.ini", "Three" ) )
 
 echo "the entry record has been found.";
 
else
 
 echo "the entry record has not been found.";
 
*/
 
 
/*
 
add_entry( "test2.ini", "Three", "SubSub", "SupSup" );
 
echo "the record has been added.";
 
*/
 
 
/*
 
$list01= list_key_values( "test2.ini" ) ; 
 
print_r( $list01 );
 
*/
 
 
/*
 
$list02= list_entry_values( "test2.ini" , "Two" ) ; 
 
print_r( $list02 );
 
*/
 
 
?>
 
 
 |