Re: [PHP] smarter way to write config file?

2002-04-16 Thread Scott Houseman
] Sent: Tuesday, April 16, 2002 6:58 AM Subject: [PHP] smarter way to write config file? Hi all, Currently i've got a config file for each website, and I split it into essentially two config files, based on the server name, so that I can have 1 file for both my local server and the live server

[PHP] smarter way to write config file?

2002-04-15 Thread Justin French
Hi all, Currently i've got a config file for each website, and I split it into essentially two config files, based on the server name, so that I can have 1 file for both my local server and the live server. something like: ? if($local) { $cfgAdminEmail = [EMAIL PROTECTED];

Re: [PHP] smarter way to write config file?

2002-04-15 Thread Justin Blake
Justin French [EMAIL PROTECTED] has the same first name as me :) and wrote: Currently i've got a config file for each website, and I split it into essentially two config files, based on the server name, so that I can have 1 file for both my local server and the live server. something like: