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:
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 files.
A
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
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';
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
5 matches
Mail list logo