Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- session_start()
- ?>
- <!DOCTYPE html>
- <html>
- <head>
- <title>Log in</title>
- <link rel="stylesheet" type="text/css" href="style.css">
- </head>
- <body>
- <div class = "omotac">
- <form class = "forma" action = "php/login.php" method = "POST">
- <h2 class="decorated"><span>LOG IN</span></h2>
- <input tuye = "text" name = "username" placeholder = "Username" autocomplete = "off"><br/>
- <input type = "password" name = "password" placeholder = "Password" autocomplete = "off"><br/>
- <input type = "submit" name = "submit" value = "Log in"><br/>
- </form>
- </div>
- <p><?php if (!empty($_SESSION['message'])) {
- echo $_SESSION['message'];
- session_unset();
- session_destroy();
- } ?></p>
- </body>
- </html>
Add Comment
Please, Sign In to add comment