A simple blog page.

Permabanned
Joined
21 Apr 2004
Posts
13,312
Location
Wolverhampton
I currently have 5 HTML pages as my website, along with CSS and a bit of PHP for the submit form.

However, one of those sections is a blog. I don't fancy the idea of editing the HTML file for each blog entry, as I can see it getting huge over a period of time.

I just want to be able to input a title, a date and the body of the blog entry and hit update/upload and for it to automatically display.

I don't know if this is a simple thing to do, I'm pretty good with normal HTML and CSS and design work, but content management stuff I'm still learning.

Do I need an SQL database for this? :(
 
You could pick apart something like CutePHP to suit your needs. That particualr system writes to a text document so no need for MySQL. Worth looking into if you dont want to write your own :)
 
I've managed to write a mini guestbook which takes input from a form, adds a bit of html to it, and sticks it into the top of a text file. Then the guestbook page has a php require thingy to pull in the text file into my guestbook page - and voila, new entry, date-stamped and everything.

Wouldn't be hard to make a form for just your own use (maybe password-restrict it with htaccess, but I never worked that out), and make any entries appear at the top of a text or html file :) I can email you my files if you like?
 
Back
Top Bottom