Re: configuration

From: Date: Tue, 22 May 2001 13:55:18 +0000
Subject: Re: configuration
References: 1 2 3  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-442@lists.php.net to get a copy of this message
[Andrei Zmievski <andrei@ispi.net>] > On Tue, 22 May 2001, Nicolas Hoizey wrote: > > Hi, > > > > > I think it's time to find a standard way of giving applications > > > parameters without having to modify library code. > > > > Yes, it's time to do it, it is really needed !!! :) > > > > > To access the configuration we can either use ini_get() or make a > > > new set of pear_ini_* functions. > > > > Do these functions access the '*.ini' file every time they are called, > > or is the whole configuration loaded somewhere in memory ? > > I can contribute my Config_File class that I wrote. It's almost > PEAR-ified and it loads config file into memory only once. Could you post it to the list? - Stig -- Stig Sæther Bakken <ssb@fast.no> Fast Search & Transfer ASA, Trondheim, Norway

« previous php.pear.dev (#442) next »