Jackk

IP Grabber V2

Dec 21st, 2012
11,136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  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. ?>
Advertisement
Add Comment
Please, Sign In to add comment