Configuration file

From: Eric Kincl (Eric_at_Kincl.net_NO_SPAM_)
Date: 11/20/03


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



Relevant Pages

  • Re: Configuration file
    ... Eric Kincl wrote: ... > What is the best way to do a configuration file? ... > edit and contain a lot of defined values. ...
    (comp.lang.php)
  • Re: openSUSE Phpmyadmin
    ... you install from the official tar.gr. ... openSUSE packaged RPM. ... Probably reason of this is that you did not create configuration file. ... Maybe I'll try to edit that in cli. ...
    (alt.os.linux.suse)
  • Re: boot splash screen
    ... again.I check the kernel and I see the 'quiet splash' is come again.Cani ... Are you asking for help on how to edit a file? ... Have you edit a configuration file before? ...
    (Ubuntu)
  • Re: file to edit saved login session on X
    ... siddharthtuli@xxxxxxxxx staggered into the Black Sun and said: ... there a configuration file which I can edit to prevent these windows ...
    (comp.os.linux.misc)
  • Re: file to edit saved login session on X
    ... On Jun 26, 8:27 pm, Dances With Crows ... there a configuration file which I can edit to prevent these windows ...
    (comp.os.linux.misc)