Advertisement
Guest User

Untitled

a guest
May 16th, 2017
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.59 KB | None | 0 0
  1. <?php
  2. if (isset($_COOKIE['session1']))
  3. {
  4. ?>
  5.  <script>
  6.  window.location= "table.php";
  7.  </script>
  8.  <?php
  9. }
  10. ?>
  11.  
  12. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  13.  
  14. <html>
  15. <head>
  16.     <title>Login into Administration</title>
  17. </head>
  18. <style>
  19. #content {
  20. margin-left: 200px;
  21. }
  22. </style>
  23. <body>
  24. <div id="container">
  25.  
  26.  
  27. <div id="content">
  28.  
  29. <h1>Login</h1>
  30.  <form action="login.php" method="post" name="login">
  31.  Username: <input type="text" name="user"><br />
  32.  Password: <input type="password" name="password"><br />
  33.  <input type="submit">
  34.  </form>
  35. </div>
  36.  
  37. </div>
  38.  
  39. </body>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement