Ver Mensaje Individual
  #4 (permalink)  
Antiguo 27/08/2004, 14:48
Avatar de gds
gds
 
Fecha de Ingreso: febrero-2003
Mensajes: 31
Antigüedad: 21 años, 2 meses
Puntos: 0
puede ser algo así en JavaScript:

Código HTML:
<script language="JavaScript"><!--
var pass = prompt("Escriba su contraseña","")
location.href("PÁGINA?clave="+pass)
// --> 
esto abrirá un "cartelito" que pedir la contraseña. Luego la página será dirigida automáticamente la página que cambies por PÁGINA (en la tercera línea de código), que podría ser un script en PHP o ASP (o cualquier lenguaje de servidor que sepas) donde deberías hacer que chequee la contraseña enviada por la que es.
__________________
It is not enough for a handful of experts to attempt the solution of a problem, to solve it and then to apply it. The restriction of knowledge to an elite group destroys the spirit of society and leads to its intellectual impoverishment. - Albert Einstein