A simple PHP Validation Class