Ver Mensaje Individual
  #1 (permalink)  
Antiguo 11/06/2009, 01:44
Pitufet
 
Fecha de Ingreso: junio-2009
Mensajes: 20
Antigüedad: 15 años, 8 meses
Puntos: 0
Error con session_start

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\Inetpub\wwwroot\php\index.php:7) in C:\Inetpub\wwwroot\php\index.php on line 154

Cómo puedo evitar el siguien error! gràcias

echo"<form name= 'login' action='entrada usuari.php' method='post'>";
session_start();
$_SESSION['nombre'] = $username;
echo"<input type='submit' value='entrar'>";

echo"</form>";