Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $ip = $_SERVER['REMOTE_ADDR'];
- ?>
- <!DOCTPYE html>
- <html>
- <head>
- <title>Public IP Address Check.</title>
- <meta charset="UTF-8" />
- </head>
- <body>
- <h1>Your Public IP Address: <font color="#FF0000"><strong><?php echo $ip; ?></strong></font></h1>
- <footer>
- <br />
- <hr />
- <i>Copyright: © <year(s)> <name></i> | <a href="http://<domain>" target="_blank" style="color:red"><domain></a>
- </footer>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement