Re: Best way to set global params for entire site??
| From: | @ Edwin | Date: | Wed, 23 Oct 2002 01:22:44 +0000 |
| Subject: | Re: Best way to set global params for entire site?? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-121008@lists.php.net to get a copy of this message | ||
Hello,
Perhaps, this will do the job?
http://www.php.net/manual/en/function.parse-ini-file.php
- E
[snip]
>
> Or you can get fancy and get a config file parser and do things like
> [section 1]
> html = mypage.something.com
> db_user = whatever
>
> etc... You could probably find one of those on phpclasses.org or
> hotscripts.com.
>
[/snip]