Posts Tagged ‘PHP’

October 4th, 2007

nofollow (1)

Someone recently mentioned that author comment links in my blog were all given a nofollow attribute. So I wrote a plugin that removes nofollow from comment author links. If you search around it’s not hard to find a million other plugins that do the same thing. Putting something like this into /wp-content/plugins […]

September 13th, 2007

Updated cows (3)

I’ve read that good website layouts evolve slowly over time, and it’s better to change and improve the layout you’ve already got rather than redo the whole thing from scratch. Probably sage advice. I tweaked my layout a bit to take more advantage of a bunch of empty space where nothing much was […]

January 23rd, 2007

PHP design patterns? (2)

As one of my professors used to say, “There’s no problem that can’t be solved by adding another layer of abstraction”. He was joking, but there’s a little bit of truth to that.
I’ve been working on my other website for a while. It’s all PHP4, not entirely by my choice but I’m limited […]

November 24th, 2006

PHP makes me sad; programming makes me happy (1)

My other site is about Final Fantasy (the original video game of the series, for the NES). That site is how I learned HTML, a good 7 years ago. It’s still my baby and (perhaps sadly) one of what I consider my greatest accomplishments. I wish I had more time to work […]

August 14th, 2006

Lisp, part 2 (0)

Tags: , , , ,

Everyone I know who does Lisp says “Learn Lisp and it will change how you look at all other programming languages!” I don’t know if that’s true or not, but I think I’m starting to learn a bit.

June 5th, 2006

IE-b0rker returns (3)

Tags: ,

Now complete with large annoying red border. Here’s a screenshot of Opera pretending to be IE.
I’m using this code to detect IE browsers:
<?php if(strstr($_SERVER[’HTTP_USER_AGENT’],"MSIE")) { ?>
If anyone knows a better way, I’d love to hear it.