$clave = a que???
mediante post, get o k???
si a la variable no tiene nada manda a no te sugiero esto
Código PHP:
<?php
$clave=$_POST o GET etc;
$claves=array("pass1","pass2");
if (in_array($clave,$claves)){
echo "<SCRIPT LANGUAGE=\"JavaScript\">self.location.href = \"../cata/pone.php?variable=$clave\";</SCRIPT>";
}else{
echo "<SCRIPT LANGUAGE=\"JavaScript\">self.location.href = \"claveno.htm\";</SCRIPT>";
}
?>