![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
03/06/2010, 07:52
|
![Avatar de ligthy_xd](http://static.forosdelweb.com/customavatars/avatar114880_1.gif) | | | Fecha de Ingreso: septiembre-2005
Mensajes: 225
Antigüedad: 19 años, 4 meses Puntos: 0 | |
Respuesta: mostrar contenido diferente con phpsessid muchas gracias, finalmente lo resulvi asi:
<?
setcookie("header",1);
?>
<html>
<head>
</head>
<body>
<?
if(isset($_COOKIE['header'])) {
echo "mostrar header 2";
} else {
echo "mostrar header 1";
}
?>
</body>
</html> |