[PHP] Config files: what is best? (was: Re: [PHP] XML... Useful or another layer of complexity?)

2011-04-03 Thread Andre Polykanine
Hello Peter, Just because you mentioned config files. What would you suggest me as better format for them? Database is not available yet since I need to make a config file before creating a database. -- With best regards from Ukraine, Andre Skype: Francophile My blog: http://oire.org/menel

Re: [PHP] Config files

2003-08-14 Thread Chris Boget
> I have following options for working with the > configuration files with the relatively large web > application. For additional reference, you might want to check out PEAR's Configuration package. It's fairly flexable and work's pretty good. Although, I have found some oddness when it's work

Re: [PHP] Config files

2003-08-14 Thread Ray Hunter
I tend do do something similar here: I usually set up my arrays and then access them later using the GLOBALS superglobal array. For some projects I tend to use multidimensional arrays because I can do something like. $config['db']['name'] = 'something'; $config['db']['user'] = 'someone'; $con

[PHP] Config files

2003-08-14 Thread Hardik Doshi
Hi Group, I have following options for working with the configuration files with the relatively large web application. 1. Configuration variables using the DEFINE. 2. Array - Each configuration variable as an array element. 3. PHP.INI like config files. Please let me know which one is the bes

Re: [PHP] Config files

2003-08-14 Thread CPT John W. Holmes
From: "Hardik Doshi" <[EMAIL PROTECTED]> > I have following options for working with the > configuration files with the relatively large web > application. > > 1. Configuration variables using the DEFINE. > > 2. Array - Each configuration variable as an array > element. > > 3. PHP.INI like config f