HOLA HE ESTADO HACIENDO UNA PAGINA PARA MI Y MIS COMPAÑEROS DEL SALON DESPUES LA AMPLIARE A LA PREPA ENTERA
AUN LA ESTOY CONSTRUYENDO PERO AL REVISAR ALGUNOS DETALLES COMO AL FINALIZAR SESION ME TIRA ESTAS ADVERTENCIAS
Warning: Cannot modify header information - headers already sent by (output started at /home/girkcomo/public_html/logout.php:6) in /home/girkcomo/public_html/logout.php on line 7
Warning: Cannot modify header information - headers already sent by (output started at /home/girkcomo/public_html/logout.php:6) in /home/girkcomo/public_html/logout.php on line 8
YA HAS SALIDO, DA CLICK AQUI PARA ENTRAR.
ES UNA HOJA PHP Y TRATE DE DARLE ESTILO CON CSS NO SE SI ESE SEAMI ERROR PUES AL QUITARLE TODO Y SOLO DEJAR EL CODIGO PHP NO ME TIRA LAS ADVERTENCIAS PERO QUE ESTE EN BLANCO NO ME GUSTA MUCHO
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<tittle>CERRAR SESION</tittle>
<link rel="stylesheet" href="logout.css" type="text/css" media="all">
</head>
<body>
<p>
<?php
setcookie("loggedin", "TRUE", time()-(3600 * 24));
setcookie("$username");
?>
<p>
YA HAS SALIDO, <a href="login.html">DA CLICK AQUI</a> PARA ENTRAR.
</body>
</html>
AUN LA ESTOY CONSTRUYENDO PERO AL REVISAR ALGUNOS DETALLES COMO AL FINALIZAR SESION ME TIRA ESTAS ADVERTENCIAS
Warning: Cannot modify header information - headers already sent by (output started at /home/girkcomo/public_html/logout.php:6) in /home/girkcomo/public_html/logout.php on line 7
Warning: Cannot modify header information - headers already sent by (output started at /home/girkcomo/public_html/logout.php:6) in /home/girkcomo/public_html/logout.php on line 8
YA HAS SALIDO, DA CLICK AQUI PARA ENTRAR.
ES UNA HOJA PHP Y TRATE DE DARLE ESTILO CON CSS NO SE SI ESE SEAMI ERROR PUES AL QUITARLE TODO Y SOLO DEJAR EL CODIGO PHP NO ME TIRA LAS ADVERTENCIAS PERO QUE ESTE EN BLANCO NO ME GUSTA MUCHO
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<tittle>CERRAR SESION</tittle>
<link rel="stylesheet" href="logout.css" type="text/css" media="all">
</head>
<body>
<p>
<?php
setcookie("loggedin", "TRUE", time()-(3600 * 24));
setcookie("$username");
?>
<p>
YA HAS SALIDO, <a href="login.html">DA CLICK AQUI</a> PARA ENTRAR.
</body>
</html>