contra

Simple IP Grabber Script PHP

Oct 24th, 2012
707
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.16 KB | None | 0 0
  1. <html>
  2. <?php
  3. $file = "log.txt";
  4. $f=fopen($file, 'a');
  5. fwrite($f,$_SERVER['REMOTE_ADDR']."\n");
  6. fclose($f);
  7. ?>
  8. <p>File not found</p>
  9. </body>
  10. </html>
Advertisement
Add Comment
Please, Sign In to add comment