From 49bea86e83c113874711d85be5811e2e21957c64 Mon Sep 17 00:00:00 2001 From: gnieark Date: Fri, 4 Dec 2015 22:13:22 +0100 Subject: [PATCH] plop --- src/act.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/act.php b/src/act.php index 893ce42..06f947b 100644 --- a/src/act.php +++ b/src/act.php @@ -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{