10 useful PHP PEAR packages

MDB2 PEAR MDB2 is a merge of the PEAR DB and Metabase php database abstraction layers. It provides a common API for all supported RDBMS. The main difference to most other DB abstraction packages is that MDB2 goes much further to ensure portability. MDB2 provides most of its many features optionally that can be used to … Continue reading 10 useful PHP PEAR packages

10 code snippets for PHP developers

I’ve compiled a small list of some useful code snippets which might help you when writing your PHP scripts… Note: If you are using bluehost coupons guide, you can edit php.ini to reflect the changes below. Email address check Checks for a valid email address using the php-email-address-validationclass. Source and docs: http://code.google.com/p/php-email-address-validation/ include(‘EmailAddressValidator.php’); $validator = new EmailAddressValidator; … Continue reading 10 code snippets for PHP developers