Return to Snippet

Revision: 22509
at January 13, 2010 15:50 by Michael01


Initial Code
function check_mail($email){
	if(eregi("[A-Za-z0-9\.!#\\$%&'\*+-/=\?\^_`{\|}~]{3,}@[a-z0-9]+([-_\.]?[a-z0-9])*\.[a-z]{2,4}", $email)) return TRUE;
	else return FALSE;
}

Initial URL

                                

Initial Description

                                

Initial Title
E-Mail validation

Initial Tags
email, validation

Initial Language
PHP