Codice PHP:
if(isset($_POST["utente"]))

   if (
check($_POST["utente"],$_POST["password"])){ 
      
$_SESSION["utente"] = $_POST["utente"]; 
      
$_SESSION["password"] = $_POST["password"]; 
   echo
'<meta HTTP-EQUIV="refresh" content=1;url="index.php">'
    exit; 
   }else{ 
      
form_login(); 
   }