Guest User

Untitled

a guest
Aug 27th, 2013
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. <h1>Login</h1>
  2. <?php
  3. if (isset($_POST['user_name'], $_POST['user_password'])){
  4. echo '<div class="msg error">Login Failed.</div>';
  5. }
  6.  
  7. ?>
  8. <form action="index.php?page=login" method="post">
  9. <div>
  10. <label for="user_name">Username:</label>
  11. <input type="text" name="user_name" id="user_name">
  12. </div>
  13. <div>
  14. <label for="user_password">Password:</label>
  15. <input type="password" name="user_password" id="user_password">
  16. </div>
  17. <div>
  18. <input type="submit" value="Login" />
  19. </div>
  20. </form>
Advertisement
Add Comment
Please, Sign In to add comment