Advertisement
Guest User

Public IP Address Checker Script

a guest
Jun 29th, 2016
272
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.45 KB | None | 0 0
  1. <?php
  2.  
  3. $ip = $_SERVER['REMOTE_ADDR'];
  4.  
  5. ?>
  6.  
  7. <!DOCTPYE html>
  8. <html>
  9.  <head>
  10.   <title>Public IP Address Check.</title>
  11.   <meta charset="UTF-8" />
  12.  </head>
  13.  <body>
  14.   <h1>Your Public IP Address: <font color="#FF0000"><strong><?php echo $ip; ?></strong></font></h1>
  15.   <footer>
  16.    <br />
  17.    <hr />
  18.    <i>Copyright: &copy; <year(s)> <name></i> | <a href="http://<domain>" target="_blank" style="color:red"><domain></a>
  19.   </footer>
  20.  </body>
  21. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement