Ho fatto un reload e mi continua a comparire questo messaggio di errore, anche dopo aver spento il pc. Io uso apache e mysql su linux suse 9.1 pro.
Questo è il messaggio d'errore:
codice:
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/fiore/public_html/Intranet/include/headeradm.php:1) in /home/fiore/public_html/Intranet/include/headeradm.php on line 3
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/fiore/public_html/Intranet/include/headeradm.php:1) in /home/fiore/public_html/Intranet/include/headeradm.php on line 3
Mi da un errore alla linea 3 del file headeradm.php ma tutto mi sembra ok. Posto le prime righe del file headeradm.php:
codice:
<?php
session_name(entra);
session_start();
include("openDB.php");
$sAns="select * from utenti where username='$_SESSION[username]' and password='$_SESSION[password]'";
$indr=mysql_query($sAns) or
die("Impossibile eseguire la query: login utente");
$aRov=mysql_fetch_array($indr);
?>
Che errore è? Come risolverlo? Ripeto, tutto è sempre funzionato, ultimamente ho fatto un reload e tac sbuca continuamente l'errore.
Grazie