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