phalidate
phalidate is a collection of PHP classes that handle data validation. The validation can be done on data that is coming from a form, or from another source (e.g. database). Currently there are two classes in phalidate, they are phalidate.php and phalidators.php. phalidate.php handles the logic of the validation process, tracking error messages and so on. phalidators.php is the collection of regular expressions and related checks used to validate specific types of data. phalidate is designed to be very flexible and easy to use. It can be used with templating systems like Smarty, it can be easily extended, and it supports error messages in different languages. [ more.. ]
 
SimpleTest Framework Builder
Ever inherit a pre-existing codebase that contained no unit tests? I have. A couple times. In response I've built this helper utility that goes out and build the SimpleTest Framework for me. Once the framework is built then it needs to be fleshed out with actual tests, but the drudgery work is done. [ more.. ]
 
AJAX Formmail
Formmail is a perl-based CGI script that can be used to email the data entered into a form to a predefined address. Which is great if you have perl, or if you don't want it to do anything more or different. As both an exercise, and a need, I built a version of formmail using AJAX and PHP. It works like a charm. And it's easy to extend/tweak/change. [ more.. ]