Ver Mensaje Individual
  #1 (permalink)  
Antiguo 12/09/2003, 18:36
Randill
 
Fecha de Ingreso: agosto-2003
Mensajes: 52
Antigüedad: 20 años, 8 meses
Puntos: 0
Problema con el logout

He hecho el registro y reconocimiento de usuarios del articulo de maestros del web.
todo me salio bien, salvo el logout, el cual me dice el siguiente error.

Warning: Cannot modify header information - headers already sent by (output started at c:\web\salir.php3:1) in c:\web\salir.php3 on line 2

Warning: Cannot modify header information - headers already sent by (output started at c:\web\salir.php3:1) in c:\web\salir.php3 on line 3

a todo esto es un boton ke al presionar se dirige a salir.php
el codigo de salir.php
Código PHP:
   <? 
  
{  setcookie("usNick","x",time()-3600);
  
setcookie("usPass","x",time()-3600);}
  
?> <script language="javascript">
  location.href="index.php";
  </script>
por cierto tengo un archivo ke contiene funciones, y una de estas es colocar el boton.
en el index incluyo este archivo y llamo a la funcion para ke aparezca el boton.
ke sucede??