Internet Censorship in Australia

The Australian Government wants to implement filtering of the Internet, ostensibly to restrict access to unsavory illegal content.  Unfortuately, it will be ineffective (trials have shown that the filter blocks huge numbers of legitimate sites), expensive (costing over AU$44 million in the first year and AU$33 million per year thereafter). Draconian? Maybe.  Effective?  Absolutely not…. Read more »

Photoshop Bug: Aligning guides to the Pixel Grid

I had trouble getting designs pixel perfect in Photoshop for a while, particularly when adapting someone else’s document. I found that whilst zoomed in to pixel-level, my cursor wouldn’t line up with the ruler, and I couldn’t move the ruler origin accurately.  After a while, the solution presented itself… I wasn’t the only one fooled!… Read more »

Add a Download link to the 1pixelout Audio Player

I love the WordPress plugin Audio Player by 1pixelout, and highly recommend it to folk who want to present audio on their site.  I’d like to be able to offer the file for download too, though, so I’ve created a little download icon that sits beside the player.

Custom Header Image for WordPress Themes

A client wanted to be able to set a different header image for each page or post on his WordPress site, so I’ve written this function for him. He can now set a custom image for each page header in a few steps: upload the cropped custom images via FTP set the custom field “header”… Read more »

Beating the mail_failed error in formmail.php

So, I’ve spent far too long messing with formmail.php.. but I just can’t resist getting everything just right! I was getting an obscure error, which requires a little form field validation. The problem I found during testing that if I populated form fields with the excellent Web Developer toolbar for Firefox, I would get the… Read more »

Configure formmail.php more easily

Formmail.php is a free script which delivers a user’s details from a form on your site’s contact page to your email inbox. It can do file uploads, it is spam savvy, it does captcha text.. phew, it threatens to fold your washing!

The file itself is more heavily documented than any other script I’ve seen: comments just about outweigh the code, which ironically makes it tedious to configure manually. Thankfully, Tectite offers a Configuration Wizard, which offers a free trial, or 7 day access for a measly US$4.95. I highly recommend that you use it.

If, however, you find yourself configuring it repeatedly, I’d suggest making your own configuration file. The purpose of this is to gather the 15 odd lines you actually need to edit on one page. Why is this so useful? Because the whole script weighs in at over 10,200 lines of code! That’s a lot of scanning through code.

Buying a second-hand Macbook

Edit: I’ve done a massive update of the topic more recently: check out Buying a Secondhand Macbook, in detail! I’ve been asked by a number of friends in Melbourne recently: “Where to buy a cheap Mac?” I’ve got good things to say about buying refurbished from Apple online. The offerings vary, and stock numbers are… Read more »