phool4fool
203.***.***.***function for email validation (best one)
This verifies if an email address is valid or notPHP Example:
PHP code:
0function valid_email($address)
1{
2 // check an email address is possibly valid
3 if (ereg('^[a-zA-Z0-9_.-]+@[a-zA-Z0-9-]+.[a-zA-Z0-9-.]+$', $address))
4 return true;
5 else
6 return false;
7}