Looking around for an easy way to resize my images ready for uploading to facebook. Sure, you can use gimp batch processes, but that looks like an awful lot of work.
Nested Ternary Statement PHP
Moving complex php if statements into ternary statement syntax is not always recommended, but I think it can look quite neat and easily readable.
Validate Unicode/UTF-8 Form Input (Language Specific Characters)
Validating language specific characters in user input can be a bit of a pain, especially if you are using regular expressions to filter user submitted data.
Validate Unicode/UTF-8 Form Input (Language Specific Characters)
Validating language specific characters in user input can be a bit of a pain, especially if you are using regular expressions to filter user submitted data.
Hacking your Uniden GNS8350
For Xmas I always buy myself something of a technical nature. This year I purchased a Uniden GNS 8350 GPS unit for myself. It sucks and needs serious work that Uniden don't look like they are prepared to do.
Resetting default file permissions on Windows Server 2003
Okay I blew it! Not until today in my career have I ever made a change to a production server that prevented it from booting properly!
Setting up Outlook to use an LDAP server for contacts
I recently got a request from one of our users at a larger site to be able to have all the staff's contacts in their contact list.
Pinging [oy] with 32 bytes of data:
Where the "oy" have weird little French double dot things on the top of them. You can still ping by IP address but DNS and a whole lot of other stuff is poked.
PHP Error Handling Class
Error handling is obviously fairly important so I have finally invested time into a custom error handling class for PHP 4 and above. It is a fairly small and simple class (only about 150 lines), I'm quite happy with it so far, of course you can download the class below and try it out for your self.
PHP Voting System to Increase your Inbound Links
Having some sort of web 2 point ohish interactive component on your website is a great way to generate buzz, get users coming back to the site and even generate inbound links. One such component I have seen work well is a voting system, made so much more popular by community driven sites such as digg, reddit etc.