single("id", "members", "WHERE username='" . $_POST['username'] . "' AND password='" . $_POST['password'] . "'"); //we found the member, let's create a session with this member's information if ($id) { $_SESSION['database'] = $database; //if you're using PHP 5 you need to remove the ampersand & below $_SESSION['member'] = & new member($id); //log them into the game $_SESSION['member']->login(); //now let's redirect them to the map and their character header("Location: character_v6.php"); exit; } //we didn't find the login, we won't let them login $error = errorMsg("Incorrect login information"); } ?> Pits of Doom
Pits of Doom Login
Not a member? create an account today!

Username:

Password:


Lost Password?