Configuration file
From: Eric Kincl (Eric_at_Kincl.net_NO_SPAM_)
Date: 11/20/03
- Next message: Manuel Lemos: "Re: newbie: bulk mail with php"
- Previous message: Manuel Lemos: "Re: PHP Classes suggestions (was Re: Recommendations for PHP Form Validation Script)"
- Next in thread: Eric Kincl: "Re: Configuration file"
- Reply: Eric Kincl: "Re: Configuration file"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 20 Nov 2003 02:05:56 +0000
Hey, once again...
What is the best way to do a configuration file? I want it to be easy to
edit and contain a lot of defined values. (But not nessasarily use
"define"). I have seen it as an array before, and have used that, but I
have to do "global $config" for every function that uses it. Is there an
easier way? Should I be doing it some other way? Ideally I would like a C
syntax DEFINE, the only reason I'm not using define() is because I don't
like the way it looks - it makes it a bit more confusing to change.
Thanks, once again, in advance,
-Eric Kincl
- Next message: Manuel Lemos: "Re: newbie: bulk mail with php"
- Previous message: Manuel Lemos: "Re: PHP Classes suggestions (was Re: Recommendations for PHP Form Validation Script)"
- Next in thread: Eric Kincl: "Re: Configuration file"
- Reply: Eric Kincl: "Re: Configuration file"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|