![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
30/11/2009, 15:28
|
| | Fecha de Ingreso: julio-2002
Mensajes: 83
Antigüedad: 22 años, 6 meses Puntos: 0 | |
Respuesta: Session i .htaccess - por favor ayuda Continua sin funcionar, siempre da el valor 1:
<?php
session_start();
if (!isset($_SESSION[sesion]))
$_SESSION["sesion"]=0;
echo '<head>
<title>'.$_SERVER[PHP_SELF].'</title>
</head>
<html>
<body>';
$_SESSION[sesion]=$_SESSION[sesion]+1;
echo "Sesion :$_SESSION[sesion]";
echo "<p>";
echo "<a href=$_SERVER[PHP_SELF]>Recargar la Página</a>";
echo '</body>
</html>';
?> |