Guest User

Untitled

a guest
Apr 20th, 2016
28
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. Yoo hier krasser code.
  2.  
  3. <?php
  4. $user = $_POST['user'];
  5. $pass = $_POST['pass'];
  6.  
  7. if($user == "admin"
  8. && $pass == "admin")
  9. {
  10. include("secure.html");
  11. }
  12. else
  13. {
  14. if(isset($_POST))
  15. {?>
  16.  
  17. <form method="POST" action="secure.php">
  18. User <input type="text" name="user"></input><br/>
  19. Pass <input type="password" name="pass"></input><br/>
  20. <input type="submit" name="submit" value="Go"></input>
  21. </form>
  22. <?}
  23. }
  24. ?>
Add Comment
Please, Sign In to add comment