Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <h1>Login</h1>
- <?php
- if (isset($_POST['user_name'], $_POST['user_password'])){
- echo '<div class="msg error">Login Failed.</div>';
- }
- ?>
- <form action="index.php?page=login" method="post">
- <div>
- <label for="user_name">Username:</label>
- <input type="text" name="user_name" id="user_name">
- </div>
- <div>
- <label for="user_password">Password:</label>
- <input type="password" name="user_password" id="user_password">
- </div>
- <div>
- <input type="submit" value="Login" />
- </div>
- </form>
Advertisement
Add Comment
Please, Sign In to add comment