Advertisement
Guest User

Untitled

a guest
Sep 21st, 2017
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. Login.php
  2.  
  3. <html>
  4. <head>
  5. <title>Login Page</title>
  6. <style type="text/css">
  7. body {
  8. background-color:black;
  9. color:yellow;
  10. </style>
  11. <body>
  12.  
  13. <form action="logincheck.php" method="post">
  14. <p align="center">
  15. Username: <input type="text" name="us"><br />
  16. Password: <input type="password" name="pw"><br />
  17. <input type="submit" value="Login" name="loginbutton">
  18. </form>
  19. </body>
  20. </html>
  21.  
  22. Logincheck.php
  23.  
  24. <?php
  25.  
  26. $username="nan0^";
  27. $password="csbeograd1";
  28.  
  29. if ($_POST us=="nan0^" || pw=="csbeograd1)
  30. {echo "succes";}
  31. else
  32. {echo "fail";}
  33.  
  34. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement