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>
en el index incluyo este archivo y llamo a la funcion para ke aparezca el boton.
ke sucede??