if($name!="me" && $password!="pass")
{
header("Location: no_good.php");
}
But that logic is messed up because if they put in a correct name, but bad password, then they'll still get in.
I think something like this will work best.
if($name=="me" && $password=="pass")
{
//good name and password
//display whatever....
}
else
{
//bad name or password
header("Location: no_good.php");
}
---John Holmes...