I’m making a (PHP powered) music site for a client and so far everything is great. But on the Admin part of the site I am adding Site Settings, and I’m wondering what would be a good way to store those settings. The type of settings would be like:
- Site logo
- Site favicon
- Email address that system emails are sent from
- Email address that contact form submissions go to
- Menu links
- etc.
I was thinking of storing them in a table in a MySQL database and adding a row for each setting, but there must be a better, more efficient way. If I were to store them in a PHP file, how would I update each setting and retrieve them?
Anyone have any ideas?
XML file ? Relatively easy to retrieve information, and its structured.