Ver Mensaje Individual
  #1 (permalink)  
Antiguo 28/06/2003, 00:39
cpwebs
 
Fecha de Ingreso: abril-2002
Ubicación: Buacaramanga - Colombia
Mensajes: 46
Antigüedad: 22 años
Puntos: 0
Register_globals

Que hay que cambiar aqui para que pasen las variables segun register_globals

<?php
if (($PHP_AUTH_USER!="Joe") || ($PHP_AUTH_PW!="123")) {
header('WWW-Authenticate: Basic realm="Acceso restringido"');
header('HTTP/1.0 401 Unauthorized');
echo 'Authorization Required.';
exit;
}
?>
<html>
<body>
Ha conseguido el acceso a la <B>zona restringida</B>.
</body>
</html>

Muchas Gracias
__________________
Tino
Linuxcol Soluciones Linux, Manuales, Noticias, foros, Seguridad
Linuxcol.com