Our Blog
How to Extract Domain from Email in PHP
How to extract the domain name from an email address with PHP:
$email = "handle@domain.com"; // make sure we've got a valid email if( filter_var( $email, FILTER_VALIDATE_EMAIL ) ) { // split on @ and return last value of array (the domain) $domain = array_pop(explode('@', $email)); // output domain echo $domain } |
A PHP Form Validation Library
There’s a PHP Library for Form Validation hosted on Github by user blackbelt called php-validation. It’s described as “This class follows Zend Framework naming conventions for easy drop-in as a substitute to Zend_Validation. If you opt out of using the bulky Zend_Form on your projects, you might choose to use this for quick and painless form validation.”.
Check out this PHP Form Validation Library.
Read moreInternet Trends 2013 Slideshare from Mary Meeker and Liang Wu of KPCB
The Internet Trends report for 2013 discusses rapidly expanding mobile usage across the globe.
Read more









