Hola!
INTRO.HTML------------------------
Código PHP:
<html><head><title>Introdusca su clave</title></head>
<body>
<form action="script.php" method="post">
Clave:<input type=password name=pwd><br>
<input type=submit value=Enviar>
</form>
</body></html>
SCRIPT.PHP------------------------
Código PHP:
//implementando un --switch()-- se me hace mas claro el codigo:
<?php
switch () {
case 'clave1':
header("Location: index1.html");
exit;
case 'clave2':
header("Location: index2.html");
exit;
case 'clave3':
header("Location: index3.html");
exit;
default:
//password incorrecta: volver a pedirla
header("Location: intro.html");
exit;
}
?>
Enjoy! xD