This commit is contained in:
gnieark 2015-12-04 22:13:22 +01:00
parent d3ce15e2b7
commit 49bea86e83

View File

@ -40,18 +40,13 @@ switch($_POST['act']){
|| (substr_count('.@',$_POST['email']) > 0)
|| (substr_count('@.',$_POST['email']) > 0)
|| (substr_count('..',$_POST['email']) > 0)
|| (substr_count('.',$_POST['email']) == 1)
|| (substr_count('.',$_POST['email']) == 0)
){
$alerts.="L'email n'est pas valide\n";
}
if($alerts <>""){
echo $alerts;
}else{