Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!doctype html>
- <html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Log In</title>
- </head>
- <?php
- session_start(); //at top of page
- $failed_login = $_SESSION['failed'];
- ?>
- <body>
- <form action="http://www2.macs.hw.ac.uk/~cam2/WP/Lab2/login.php" method = "POST">
- <em><u>Login:</u></em><br>
- <br>
- Username:
- <input type="text" name="user" size="15"
- maxlength="30" />
- Password:
- <input type="password" name="pass" size="15"
- maxlength="30" />
- <input type="submit" value="Submit" />
- <p><?php echo $failed_login ?></p>
- </form>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement