SALVE ragazzi ho un problema con un login cioè funziona tutto, sia con IE, SAFARI, CRHOME, a con FIREFOX non va e non resco a capire il problema, mi potete aiutare ecco qui il codice:

Codice PHP:
<?php
session_start
();
if (isset(
$_POST["invio"])) {
  
$puntatore fopen("accessi.txt""r");
  
$trovato 0;
  while ((!
feof($puntatore)) && (!$trovato)) {
    
$linea fgets($puntatore);
    
$trovato stristr($linea$_POST["userid"]);
    
$puntatore++;
  }
  
fclose($puntatore);
  list(
$nomeutente$password) = split("••"$linea);
  if ((
$trovato)  && ($_POST["passwd"] == trim($password))) {
    
session_register('autorizzato');
    
session_register('userid');
    
$_SESSION["autorizzato"] = 1;
    
$_SESSION["userid"] = $_POST["userid"];
    
$utente $_SESSION["userid"];
    
$destinazione "albums/album1/inizia.php";
  } else {
    
$destinazione "destroy.php";
  }
  echo 
'<script language=javascript>document.location.href="'.$destinazione.'"</script>';
} else {
  
// HTML ?>


<!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=UTF-8" />
<title>Documento senza titolo</title>
<link href="css/riservata.css" rel="stylesheet" type="text/css" />


</head>

<body>
[img]images/Sfondo.jpg[/img]
<div id="Finestra-menu-fisarmonica">
  <div id="conteiner">
    
<table width="300" border="0" align="center" cellpadding="0" cellspacing="1">
<tr>
<form name="form1" method="post" action="login.php">
<td>
<table width="100%" border="0" cellpadding="3" cellspacing="1">
<tr>
  <td colspan="3" align="center">[img]images/key.png[/img]</td>
</tr>
<tr>
<td colspan="3" class="campi">[b]Area Riservata - Autenticati[/b]
</td>
</tr>
<tr>
<td width="78" class="testo1">Username</td>
<td width="6">:</td>
<td width="294"><input name="userid" type="text" class="testo"></td>
</tr>
<tr>
<td class="testo1">Password</td>
<td>:</td>
<td><input name="passwd" type="password" class="testo"></td>
</tr>
<tr>
<td></td>
<td></td>
<td>
<input type="submit" name="invio" value="invio">
          
          <input type="reset" name="cancella" value="cancella"></td>
</tr>
</table>
</td>
</form>
</tr>
</table>
  </div>
</div>




</body>

</html>

</html>
<? //fine HTML
}
?>