filter_var() in PHP

PHP’s FILTER_VALIDATE_EMAIL validates email addresses quickly and easily. <?php $email = “marc@somehost.com”; if(filter_var($email, FILTER_VALIDATE_EMAIL) === FALSE) { echo $email.” is invalid”; } else { echo $email.” is valid”; } ?> Read it all at http://www.phpbuilder.com/columns/marc_plotz10012009.php3?page=2

PHP on the JVM

Caucho’s Resin server now has PHP support with the Quercus module. Claiming anything from 4x to 6x performance improvement, and easy writing of extensions in Java (and presumably any JVM based language), it looks like a really great idea.

Debian Debian Debian Debian

Yes you heard me right, Debian. I used to hate it back before apt. Despite plenty of pressure from peers, I never got the “Debian” way, but with the release of Etch I decided I would give it another go; this time I would not be disappointed. Etch worked flawlessly, powering my server since late …

More

Version Control

In the early days when I was programming on DOS we had no version control software, and PKZIP was typically used to archive releases (crude but functional). I knew from a brief exposure to Xenix about SCCS, and what real version control was like, so I created my own version control system for DOS. I …

More