Best way to create a preference-file?
| From: | Victor Spång Arthursson | Date: | Thu, 13 Feb 2003 10:56:23 +0000 |
| Subject: | Best way to create a preference-file? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-135406@lists.php.net to get a copy of this message | ||
I would like to create a file that holds the preferences for a site, for example the name of the database, the size of thumbnail pictures etc… But which is the best way to do this and to access the file?
It would be nice with an xml-file, but perhaps it is an overkill… Anyway it must be possible to update the file in an easy way, that is, not rewrite it but update it…
Sincerely
Victor