Php - Validate email id, Php script to validate email address
Validate email id
Simple php script to validate email id
The below code is a simple script to validate the email address. The script will check the username, and domain name and the domain list.
function fnValidateEmail($varEmail) { if(eregi("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$", $varEmail)) return(true); else return(false); }
The topic on Php - Validate email id is posted by - Malu
Hope you have enjoyed, Php - Validate email idThanks for your time