PHP Validation Class for Forms

Just to top off my daily posts, I have been perfecting a PHP Validation class over the past few months.

At work I tend to do a lot of registration forms for competitions, subscriptions, newsletters, contact forms etc.

So I went to the trouble of creating a very quick and easy validation class that I could include into my projects at a drop of a hat. Inspired by CodeIgniters validation class, it has very similar features. Including helper functions.

It’s even UTF-8 friendly (except for the email function). Please feel free to download and test it out yourself. Continue reading

Lytebox with javascript Exif Data

Recently I had to integrate a photo gallery for one of my work projects Sony Alpha, a new digital SLR camera from Sony. My task was to display both the Exif data and the image at the same time.

For this project I had to create something new which I haven’t found on the internet before. It uses the popular Lytebox extension (a flavour of the popular Lightbox 2 javascript library) combined with a new javascript plugin that gathers Exif Data for photos via javascript with AJAX. Continue reading