Revision: 32768
Updated Code
at November 6, 2012 08:35 by jprochazka
Updated Code
<?php function validEmail($email) { if(eregi("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$",$email)) return TRUE; else return FALSE; } ?>
Revision: 32767
Updated Code
at November 6, 2012 08:35 by jprochazka
Updated Code
<?php function is_valid_email($email) { if(eregi("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$",$email)) return TRUE; else return FALSE; } ?>
Revision: 32766
Updated Code
at October 2, 2010 01:38 by jprochazka
Updated Code
<?php function is_valid_email($email) { if(eregi("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$",$email)) return true; else return false; } ?>
Revision: 32765
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at October 2, 2010 01:37 by jprochazka
Initial Code
<?php function is_valid_email($email) { if(eregi("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$",$email)) return true; else return false; } ?>
Initial URL
Initial Description
The following function does a very simple check on the supplied string to help ensure it is a valid email address.
Initial Title
Validate an email address.
Initial Tags
validation
Initial Language
PHP