Tag Archives | PHP

PHP5 Email Validation

In prior version of PHP you had to use some regex solution to validate an email address, now in PHP5 it’s as simple as: function isValidEmail($email){ return filter_var(filter_var($email, FILTER_SANITIZE_EMAIL), FILTER_VALIDATE_EMAIL); } if(isValidEmail(’[email protected]’)){ //valid } else { //not valid } I’ve been using PHP5 ever since it was released but didn’t look into the PECL Filter […]

Continue Reading 16

Sphinx : A MySQL full-text search engine

This has got to be one of the coolest things I have come across in a long time. Sphinx a standalone MySQL full-text search engine. I’ve been working with it for a couple weeks now and I must say, this thing is blazin’ fast. I was most impressed by performance on large data sets (60+ […]

Continue Reading 0