Fw: [PHP-ES] autenticacion

From: Date: Thu, 05 Aug 2004 20:22:40 +0000
Subject: Fw: [PHP-ES] autenticacion
Groups: php.general.es 
Request: Send a blank email to general-es+get-50685@lists.php.net to get a copy of this message
saludos lista una o dos semanas atrás yo también lancé esta pregunta y un colistero me respondió que alguien le había comentado sobre algunos problemas con el php5. ??tienes esta versión instalada, ??es con ella que tienes el problema prueba si igual que a mi me registraba el password y no el usuario if (!isset($PHP_AUTH_PW)) { > > // If empty, send header causing dialog box to appear > header("WWW-Authenticate: Basic realm='My Private Stuff'"); > header("Status: 401 Access Denied"); > echo 'Authorization Required.'; > exit; > > } else {... ........................................................................ > > Hola, > > una consulta; estoy tratando de usar autenticacion con este script, lo unico que > quiero es que salga la ventana de user/pass y al ponerlo que entre; ahora mismo > no me interesa validar; sin embargo al poner user/pass vuelve a mostrar la > ventana una vez tras otra, que puede ser? > > gracias > > > > <? > > if (!isset($PHP_AUTH_USER)) { > > // If empty, send header causing dialog box to appear > header("WWW-Authenticate: Basic realm='My Private Stuff'"); > header("Status: 401 Access Denied"); > echo 'Authorization Required.'; > exit; > > } else { > > echo "<HTML> > <HEAD> > <TITLE>Fashion Consul</TITLE> <META HTTP-EQUIV='Content-Type' > CONTENT='text/html; charset=iso-8859-1'> > <link rel='stylesheet' type='text/css' href='estilos.css'> > </HEAD> > > <FRAMESET ROWS='108,*' FRAMEBORDER='YES' BORDER='0' > FRAMESPACING='0' COLS='*'> > <FRAME NAME='sitemap' SCROLLING='yes' noresize > SRC='sitemap.htm' > > <FRAME NAME='mainFrame' SRC='2.html'> > </FRAMESET> > > <NOFRAMES> > > <BODY BGCOLOR='#FFFFFF' TEXT='#000000'> > > </BODY> > > </NOFRAMES> > > </HTML>"; > > } ?> > > -- > PHP Spanish Localization Talk Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.general.es (#50685) next »