Return to Snippet

Revision: 399
at June 30, 2008 13:43 by nicolaspar


Updated Code
function emailValido( $email ){
	return preg_match( "/^
	[\d\w\/+!=#|$?%{^&}*`'~-]
	[\d\w\/\.+!=#|$?%{^&}*`'~-]*@
	[A-Z0-9]
	[A-Z0-9.-]{1,61}
	[A-Z0-9]\.
	[A-Z]{2,6}$/ix", $email );
}

Revision: 398
at July 12, 2006 12:32 by nicolaspar


Initial Code
function emailValido( $email ){
    if( eregi( "^([a-z0-9._]+)@([a-z0-9.-_]+).([a-z]{2,4})$", $email ) ){
        return true;
    }else{
        return false;
    }
}

Initial URL

                                

Initial Description

                                

Initial Title
Php validar email

Initial Tags

                                

Initial Language
PHP