prova così...

Codice PHP:
<?php 
                
//ottengo nome utente e password 
                
$pwd=$_GET['pwd']; 
                
$nome=$_GET['nome']; 
                 
                if(
$nome=='vietato' && $pwd=='fumare'
                { 
                   
//Redirect immediato al menu dell'area riservata 
                  /* $loggato=1; 
                   session_register('loggato');*/ 
                   
header('location:menuriservato.php'); 
                } 
                else 
                { 
                  
//visualizzo questa pagina x 3 secondi (con messaggio di errore) dopodiche redirect alla login nuovamente 
                   
header('Refresh: 3; URL=areariservata.php');   
                } 
                 
                
?> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"> 
<head> 
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> 
<title>Login amministratore</title>....