From 6afc53a259642a623a0952c83394f80aba0ca23c Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Thu, 7 Oct 2004 15:29:56 +0000 Subject: [PATCH] Ajout check des emails --- htdocs/contact/index.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/htdocs/contact/index.php b/htdocs/contact/index.php index 001d72d3d22..47ecb2ea849 100644 --- a/htdocs/contact/index.php +++ b/htdocs/contact/index.php @@ -191,7 +191,12 @@ if ($result) } else { - print ''.$obj->email.' '; + print ''.$obj->email.' '; + if (!valid_email($obj->email)) + { + print "Email Invalide !"; + } + print ''; } print "\n";