if your only going to have a small amount of users (hard coded) you could also use an array to store the user names.
(dont relie on this code too much, im only a newb too)
//define an array of user names
$user_names = array("bob","pete","mary")
// gather a users name from a form submision
if (isset($_POST['user_name'])) {
$user_name = $_POST['user_name'];
{
// check the user is valid
if (in_array($user_name, $user_names {
header ("location: members.php");
} else {
header("location: login.php");
}
something like this should work. hope this helps,
thorpe