Ver Mensaje Individual
  #2 (permalink)  
Antiguo 03/06/2005, 08:41
Avatar de maralbust
maralbust
 
Fecha de Ingreso: febrero-2004
Ubicación: Santiago
Mensajes: 578
Antigüedad: 20 años, 2 meses
Puntos: 0
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
__________________
..:: NADA SE PIERDE SOLO SE TRANSFORMA ::..