Since this IS a php forum, I thought I would share my two-bits...
When I first started learning PHP almost a year ago, Halojoy's notions of flat files being "just as good if not better" than DBs got me thinking... SO...
I built my first flat-file site.
Nope, I didn't use .txt files.
Nope, I didn't use .xml files.
Nope, I didn't use .dat files, etc, etc...
I used PHP files. AND wrote data to them using keyed arrays.
Each file was of a particular topic.
Each file was very easily edited and maintained.
Only needed files were included into the main document AS needed.
I still think this was one of the most fun projects that I had...
(The site is still up, but hasn't been maintained in a looong time, but am proud of it... 🙂
PS: the content was safe from prying eyes, cos the PHP files could not be viewed if looked at in a browser by themselves, and the files were easily protected by placement on the server, too...