0

Things like maintenance, website background, website title, favicon etc., where would it be best to store them? It would be single array of items. Do I just write it in flat CSV file, flat XML file, or use database for it (sounds pretty stupid to create single-row-table)?

(sorry for mess with tags, no idea how this question could be tagged)

3
Contributors
2
Replies
16
Views
1 Year
Discussion Span
Last Post by jkon
1

One option is what cereal suggested that it may also be the most popular in PHP world. If you separate your source code from your public files and you have your src folder not in public_html (www) another option is to use a JSON format file for configurations.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.