2011
03.13

Following from my list of common ethnicities, here’s a complete list of nationalities all nicely tucked up in to a HTML select:

 

Read More >>

2011
03.13


Codeigniter doesn’t offer a way of hiding index.php from URLs out of the box, so we have to use some htaccess magic to make them look pretty.

There are loads of variants around, but I find this one the best:

Read More >>

2011
03.08

 

A client who has recently moved their services from another development company noticed their site was down. After some investigation it was clear the site had been hacked.The attacker had gained access through a weak hosting control panel password.

You actually get two tips in this post. Tip one: don’t set your website control panel password to ‘welcome’.

After donning their zero-cool computer sunglasses and smashing the Gibson security, The attacker (or bot) added a line of code in front of every PHP file in the account, which caused all sorts of problems:

Read More >>

2011
03.08


 

Want a HTML select list of common ethnicities for your registration forms / questionnaires etc? Well as you asked so nicely…

Update: I’ve also added the same list of common ethnicities in a PHP array! nom!

Read More >>

2009
10.04


I consider myself a very security conscious person. In fact, I’d say that I’m just a tin-foil hat away from paranoia. Naturally, when I wanted a way for clients to contact Sneakybox without having to write an email I was a little wary of keeping my PHP code secure. After all, Spammers would love access to the PHP mail function on my web server.

In this tutorial I will show you how I stopped them getting their viagra pushing paws on my contact form as well and how to create one of your own.

Read More >>

2009
10.04

Basic Editing and Retouching Images in Photoshop

This tutorial aims at teaching basic photo retouching in Photoshop. For the purpose of this tutorial I’ll use a picture of myself as I don’t mind pointing out my flaws!

Read More >>