Weblog

PHP Closing Tags Considered Harmful

It may be obvious to some, but this is a mistake I still see being made a lot, and I think it's high time we got over it.

Stop using PHP closing tags. It really is that simple, and here's why.

Continue reading PHP Closing Tags Considered Harmful »

Posted on Monday, the 16th of February, 2009 | permalink | comments (3)

Beelzebub Crossword Solutions on Fifteensquared

I've recently been enjoying the Independent on Sunday's "Beelzebub" crossword, so I'm pleased to have today posted Fifteensquared's first Beelzebub solutions for some time - number 989.

I'll continue to blog the Beelzebub solutions each week for the time being, alongside my usual Independent slot. It's a great crossword, but perhaps a little obscure, so I'm secretly hoping this post may help generate a bit of search engine traffic, and a few people will drop by and help me out in the comments!

Posted on Friday, the 6th of February, 2009 | permalink | comments (0)

Syntax Highlighting with GeSHi

On this very site, I've recently started using GeSHi, to implement the rather nifty code syntax highlighting you see in posts like this and this.

I had previously been using PHP's built in highlight_string() function, but that function is only of use for highlighting PHP code! As I often seem to need to highlight other languages, it was time to turn to GeSHi.

Since I did, a couple of people have asked about ease of use, implementation and so forth, so this post is my attempt at answering those questions.

Continue reading Syntax Highlighting with GeSHi »

Posted on Thursday, the 5th of February, 2009 | permalink | comments (1)