Ver Mensaje Individual
  #6 (permalink)  
Antiguo 03/12/2003, 21:29
Avatar de Reynier
Reynier
 
Fecha de Ingreso: noviembre-2002
Ubicación: Por ahí en algún sitio
Mensajes: 1.844
Antigüedad: 21 años, 5 meses
Puntos: 1
En la página protegida ...

En la página protegida lo que pongo es:
Código PHP:
 /*header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");                     // Expira en fecha pasada
  header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");        // Siempre página modificada
  header("Cache-Control: no-cache, must-revalidate");                   // HTTP/1.1
  header("Pragma: no-cache");*/
  
  
session_start();
  if(!isset(
$_SESSION['adminlogin']) && !isset($_SESSION['adminpasswd']) && !isset($_SESSION['admintype'])){
    echo 
"<html><head><title>Error !!!!</title>
          </head>
          <style type='text/css'>
          .style1 {
                font-family: Tahoma;
                font-weight: bold;
                font-size: 10px;
            }
          </style>
          <body background='img/background.jpg'>
            <div align='center'><img src='img/logout.gif' width='19' height=19 align=absmiddle><span class=style1>No tiene derechos suficientes para acceder a esta p&aacute;gina <br> <a href=index.php?modules=adminsite>Volver</a></span>
            </div>
            
          </body>
          </html>"
;
    exit();
  } 
__________________
Ing. Reynier Pérez Mira