PHP Classes
elePHPant
Icontem

File: ini_fn.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of zandor  >  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: 9 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 ) ;
}

?>