PHP Classes

File: ini_fn.php

Recommend this page to a friend!
  Classes of Alessandro Rosa   dvote   ini_fn.php   Download  
File: ini_fn.php
Role: Auxiliary script
Content type: text/plain
Description: auxiliary functions
Class: dvote
A poll voting system based on .ini files
Author: By
Last change:
Date: 18 years ago
Size: 404 bytes
 

Contents

Class file image Download
<?php
require_once("ini_manager.php");

function
get_params_ini( $section, $entry, $ini_path )
{
   
$iniMANAGER = new ini_manager();
    return
$iniMANAGER->get_entry( $ini_path, $section, $entry ) ;
}

function
set_params_ini( $section, $entry, $entry_val, $ini_path )
{
   
$iniMANAGER = new ini_manager();
   
$iniMANAGER->add_entry( $ini_path, $section, $entry, $entry_val ) ;
}

?>