htdocs/contact.php | ●●●●● patch | view | raw | blame | history |
htdocs/contact.php
@@ -5,8 +5,17 @@ $smarty->setTemplateDir('../ihtml'); $smarty->setCompileDir('../compile'); $string = $_GET['prova']; if(!empty($_GET['prova'])) { if(is_numeric($_GET['prova']) && strlen($_GET['prova']) == 10) { $string = $_GET['prova']; }else { $string = 'Numero di telefono non corretto'; } }else { $string = ''; } $smarty->assign('provastring', $string); $smarty->display('contact.tpl');