Ver Mensaje Individual
  #2 (permalink)  
Antiguo 19/05/2005, 03:50
Avatar de makynero
makynero
 
Fecha de Ingreso: abril-2005
Mensajes: 114
Antigüedad: 19 años
Puntos: 0
Prueba así

<?
/* Autenticación
*/

if(!isset($PHP_AUTH_USER)) {
header('WWW-Authenticate: Basic realm="inmobiliaria"');
header('HTTP/1.0 401 Unauthorized');
echo("<center><strong><font color=#FF0000>DENEGADO</font></strong></center>");
exit;


} else {
// valido mi clave en el servidor ...
......
......