Advertisement
Guest User

Untitled

a guest
Aug 16th, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.55 KB | None | 0 0
  1. <html>
  2. <head>
  3. <title>:: Coded by Mocha ::</title>
  4. </head>
  5.  
  6. <body>
  7. <?php
  8. /*Coded by Mocha from Hack-Forums*/
  9.  
  10. //Grap Client IP
  11. $IP = $_SERVER['REMOTE_ADDR'];
  12.  
  13. //Define E-Mail Variables
  14. $to      = 'moca66@live.com';
  15. $subject = 'IP Logger, Coded by Mocha';
  16. $message = 'IP: ' . $IP;
  17. $headers = 'From: focnr@affinitex.net' . "\r\n" .
  18.  
  19. //Send the E-Mail with the IP
  20. mail($to, $subject, $message, $headers);
  21.  
  22. //Just for shit's and giggles
  23. echo "Done, your IP has succesfully been logged."
  24.  
  25. /*Coded by Mocha from Hack-Forums*/
  26. ?>
  27. </body>
  28. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement