if($_SERVER['REQUEST_METHOD'] == "POST"){

	$userNameEntered = $_POST['txtUserName'] ?? NULL;
	$passwordEntered = $_POST['txtPassword'] ?? NULL;

	$userName = "you";
	$password = "opensesame";

	if($userNameEntered == $userName && $passwordEntered == $password){

		header("Location: index.php");
		exit();
	}

}