si script.php es solo lo que sale ahi has esto
Código PHP:
<?
If ($pwd="Clave1") {
header("Location: index1.html");
}else{
echo "Clave incorrecta";
};
if ($pwd=="clave2") {
header("Location: index2.html");
}else{
echo "Clave incorrecta";
};
if ($pwd=="clave3") {
header("Location: index3.html");
}else{
echo "Clave incorrecta";
};
?>
deberia funcionar
saludos