Ver Mensaje Individual
  #3 (permalink)  
Antiguo 26/04/2002, 01:41
Alkatraz
 
Fecha de Ingreso: marzo-2002
Ubicación: Buenos Aires
Mensajes: 106
Antigüedad: 23 años, 1 mes
Puntos: 0
Re: Quiero una Password para mi pagina!!!!!!!!!!

Nochero.
Estamos cerca...

Quedo asi pero no funciona. Cuando pongo enviar va directamente sin poner las claves.

Donde esta el error?? o el horror...

--------------------------------------------
clave.asp
<html>

<head>
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Clave</title>
</head>

<body>

<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%">
<tr>
<td width="50%">
<FORM action=destino.asp
method=post>
Nombre de usuario:
<INPUT name=usuario type=name size="20">
Password:<INPUT name=password type=password
value="" size="20"><INPUT type=submit value=Seguir><INPUTtype=reset value=Borrar></FORM>
</td>
<td width="50%">
 </td>
</tr>
</table>
</center>
</div>
</body>
</html>
------------------------------------------
destino.asp
<%
usuario = Replace( Request.Form("usuario"), "'","")
password = Replace( Request.Form("password"), "'","")
If usuario<>"claxon" Or
password<>"rojo"
then
Response.Redirect("clave.asp")
%>
<html>

<head>
<meta http-equiv="Content-Language" content="es-ar">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Pagina nueva 4</title>
</head>

<body>

<p>BIENVENIDOSSSSSSSSSSSSSSSSSS</p>

</body>

</html>

Chas gracias....y acordate la clave que es una pagina erotica..


Alkatraz