Return to Snippet

Revision: 40312
at January 30, 2011 00:13 by Turek


Updated Code
function checkEmail($mail) {
	return preg_match("/[a-zA-Z0-9_-.+]+@[a-zA-Z0-9-]+.[a-zA-Z]+/", $mail);
}

Revision: 40311
at January 30, 2011 00:12 by Turek


Initial Code
function checkEmail($mail) {
	return preg_match("/[a-zA-Z0-9_-.+]+@[a-zA-Z0-9-]+.[a-zA-Z]+/", $email);
}

Initial URL

                                

Initial Description

                                

Initial Title
Email Validation

Initial Tags
email, validation

Initial Language
PHP