forked from science-ation/science-ation
+ in the name, not the domain
This commit is contained in:
parent
1e73f06d8b
commit
c09e70d3e6
@ -872,7 +872,7 @@ function outputStatus($status)
|
||||
|
||||
//returns true if its a valid email address, false if its not
|
||||
function isEmailAddress($str) {
|
||||
if(eregi('^[a-zA-Z0-9._-]+@[a-zA-Z0-9._-+]+\.([a-zA-Z]{2,4})$', $str))
|
||||
if(eregi('^[a-zA-Z0-9._-+]+@[a-zA-Z0-9._-]+\.([a-zA-Z]{2,4})$', $str))
|
||||
return true;
|
||||
else
|
||||
return false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user