The joys of PHP

It is a wonderful thing when something you think might be really complicated turns out to be really simple.

On, I have three columns. The left one holds links common to all pages, including the internal site navigation; the centre one holds all the content; and the right one has links and stuff relevant to that page.

The problem with the left hand column is that if I want to make a change to it, I would have to do so with all the pages one by one. While this wouldn’t be too much of a burden at the moment, when the site starts to expand it would become seriously time consuming.

Fortunately PHP (; comes to the rescue. By typing the HTML for the menu content into a separate HTML file, called say “menu.html”, I can then call up that file anytime I like using:


And that’s it!

So all I have to do is update menu.html and ALL the pages change in line with that!


Plenty has happened since I last posted. I have had a total re-think of how I am going to ‘do’ Instead of going for a graphics-heavy Dreamweaver approach, I’m going to do it in Linux, more or less hand coded, using Bluefish and The Gimp, and make it accessible and fast loading on as many browsers as I can test it in.

This approach, however, has its downside. I still can’t get my internet connection to work on Linux, so I have to do all my work, save it onto a floppy, then log into Windows to FTP it to the web host.

Why am I bothering? Because I think it’s important. The coding part of the process is far quicker and more controlled, using Bluefish, and the Gnome environment I work in makes it easy to test and plan. Not least because of the multiple desktops – I have Bluefish open in one, various browsers in various others, Writer in another, in which I keep my site plan updated, and one desktop has a terminal, where I can do any file management stuff. It’s simple, straightforward and gets everything done perfectly.

Because of this new design decision, it means that I can change the layout of this blog to suit the whole site. I’ll still keep it hosted at Blogspot, though, simply because it’s too easy not too!