Email validation PHP Script

The below function will valide the email address, Function to validate email address in PHP function validateEmail($email) { if(eregi('^+@+\.{2,4}(\.{2,3})?(\.{2,3})?$', $email)) return true; else return false; } Detailed explanation of the…