Guest User

Untitled

a guest
Jun 29th, 2018
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.23 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3.  
  4. <head>
  5. <link rel="icon" href="favicon.ico" type="image/x-icon">
  6. <link rel="stylesheet" type="text/css" href="style.css" />
  7. <title>Login Success - Jubby996.com</title>
  8. <body>
  9. <body style="font-family:'verdana';">
  10. <div id="container2">
  11. <div id="img">
  12. <center><p><img src="Jubby996.png" width="600" height="150" alt="Jubby996 Logo"/></p><center>
  13. </div>
  14. </div>
  15. <div id="container">
  16. <div id="Navigation">
  17. <h4>
  18. &nbsp;
  19. <div class="Pos"><a href="index.php">Home</a></div>
  20. &nbsp;
  21. <div class="Pos"><a href="Login.php" class="changeColorCss">Login</a></div>
  22. &nbsp;
  23. <div class="Pos"><a href="sessiontest.php" class="changeColorCss">Test</a></div>
  24. &nsbp;
  25. </h4>
  26. </h4>
  27. </div>
  28.  
  29. <div id="Area">
  30. <font color="#151B8D"><h1>Login Successful</h1></font>
  31. <hr>
  32. <?php
  33.  
  34. session_start();
  35. if(!isset($_SESSION['logged_in']) || $_SESSION['logged_in'] != true) { redirect to login page }
  36. $_SESSION['logged_in'] = true;
  37. // login form variables
  38.  
  39. $username = $_POST["username"];
  40. $password = $_POST["password"];
  41.  
  42.  
  43.  
  44.  
  45. // echo login form
  46. echo ("Welcome ". $username);
  47. echo ("<br />");
  48. echo ("Your password is ". $password);
  49.  
  50. ?>
  51. </form>
  52. </div>
  53. </body>
  54.  
  55. </html>
Add Comment
Please, Sign In to add comment