Initial commit
This commit is contained in:
8
lotgd-web/lotgd/lib/is_email.php
Executable file
8
lotgd-web/lotgd/lib/is_email.php
Executable file
@ -0,0 +1,8 @@
|
||||
<?php
|
||||
// translator ready
|
||||
// addnews ready
|
||||
// mail ready
|
||||
function is_email($email){
|
||||
return preg_match("/[[:alnum:]_.-]+[@][[:alnum:]_.-]{2,}\\.[[:alnum:]_.-]{2,}/",$email);
|
||||
}
|
||||
?>
|
Reference in New Issue
Block a user