Flat File usage for News entries

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Mr Carbon Twelve
Forum Newbie
Posts: 1
Joined: Mon Jul 24, 2006 5:06 am

Flat File usage for News entries

Post by Mr Carbon Twelve »

Hi, im not new to php (been programming with it for the past three years), but then again I have never used flat files for infomation storage as I normally use php with mySQL.

As with all programming you have a problem to solve and you program a sollution, here is my problem:

I need a simple news system that uses flat files for storing entries. I need a system by where news entries can be writen and saved, as well as edited. Also on the front end side, the news entries need to be sorted by newest first and also have the option of being phased as an rss feed.

Such a system would take me a few hours max to write for mySQL, however I have never done such a thing using flat files and would like suggestions on how one would go about doing so.

Thankyou to those who take the time to read and respond.
thiscatis
Forum Contributor
Posts: 434
Joined: Thu Jul 20, 2006 11:00 am

Post by thiscatis »

I've written something like that before I started using SQL.
You can send me an PM for the info!
Post Reply