<?php session_start(); ?>

<html>

	<head>
		<title>Login</title>
	</head>
	
	<body>
		<?php
			if (isset ($_REQUEST["err"]))
			{
				echo "Login failed.";
			}
		?>
		
		<form action="login.php" method="post">
			Username: <input type="text" name="uname" size="20"><br>
			Password: <input type="password" name="password" size="20"><br>
			<input type="submit" value="Login">
			<input type="reset" value="Clear">
		</form>
	</body>

</html>