-
Notifications
You must be signed in to change notification settings - Fork 0
/
login.php
33 lines (30 loc) · 1.11 KB
/
login.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<!DOCTYPE html>
<html>
<head>
<title>Login</title>
<link rel="stylesheet" href="css/styles.css">
</head>
<body>
<div id="wrapper2">
<div id="form-container">
<h1>Login</h1>
<form action="login-handler.php" method="post" name="login">
<label for="uname"><b>Username</b></label>
<input type="text" placeholder="Enter Username" name="uname" value="<?php
if (isset($_COOKIE['unme'])) {
echo $_COOKIE['unme'];
} ?>">
<label for="psw"><b>Password</b></label>
<input type="password" placeholder="Enter Password" name="psw">
<input type="submit" name="login" value="Login" />
<label id="checkbox">
<input type="checkbox" checked="checked" name="remember">Remember me </label>
<div id="link-container">
<a href="register.html">Create account</a>
<a href="reset.html">Forgot password</a>
</div>
</form>
</div>
</div>
</body>
</html>