<?php
    
//ip.maisnam.com version 1.0
    //author: bobby maisnam [ bobby AT maisnam.com ]
    //created 9:15 PM 11/8/2003
    //last updated 8:04 PM 2/25/2004

    
$ip $_SERVER["REMOTE_ADDR"];
    
$rh $_SERVER["REMOTE_HOST"];
    
$url $_SERVER["HTTP_REFERER"];
    
$ua $_SERVER["HTTP_USER_AGENT"];
    
$ts date("Y-m-d H:i:s");
?>

<html>
  <head>
    <title>maisnam | IP Address Check</title>
  </head>
</html>

<body bgcolor="#FFFFFF">

<h1>IP Address Check</h1>
<hr>

<p>Your IP address is: <?php echo $ip?><br>
The name of the computer you are using is: <?php echo $rh?>
</p>

<p>Other details:<br>
You came to this page from: <a href="<?php echo $url?>"><?php echo $url?></a><br>
You are currently using: <?php echo $ua?><br>
The current date & time is: <?php echo $ts?> (US Eastern Time)<br>
</p>

<br>
<hr>
| <a href="http://www.cs.utk.edu/~maisnam/">maisnam.home</a> 
| <a href="index.phps">view</a> source code
| Page last updated: <?php echo "".date"Y-m-d H:i:s"getlastmod() ); ?> US Eastern Time

<p>&nbsp;</p>

</body>
</html>