Re: use of ini vs include file for configuration

From: Date: Thu, 11 Nov 2010 19:16:39 +0000
Subject: Re: use of ini vs include file for configuration
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-309456@lists.php.net to get a copy of this message
Agreed. -- João Cândido de Souza Neto "Tamara Temple" <tamouse.lists@gmail.com> escreveu na mensagem news:977F087C-BB11-4444-B851-21616AE9E8D3@gmail.com... > I'm curious what the lists' opinions are regarding the use of an .ini > file versus an include configuration file in PHP code are? > > I can see uses for either (or both). > > To me, it seems that an .ini file would be ideal in the case where you > want to allow a simpler interface for people installing your app to > configure things that need configuring, and an included PHP code > configuration file for things you don't necessarily want the average > installer to change. > > What do you think? > > Tamara >

« previous php.general (#309456) next »