What about an .ini file?

http://www.php.net/manual/en/function.parse-ini-file.php

If you want read/write from php, try a searching http://www.phpclasses.org/
for inifile.

Mark

Victor wrote:

"Victor sp�ng arthursson" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
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



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to