SOURCE CODE:
<? $theDate=date("l, F d, Y"); (NOTE: l is lower case L) $theTime=date("g:i:s A"); $theRemoteIP=getenv("REMOTE_ADDR"); $theLocalIP=getenv("LOCAL_ADDR"); $theBrowser=getenv("HTTP_USER_AGENT"); echo "<b>The date is: </b>" . $theDate . "<br>"; echo "<b>The time is: </b>" . $theTime . "<br>"; echo "<b>The Remote IP is: </b>" . $theRemoteIP . "<br>"; echo "<b>The Local IP is: </b>" . $theLocalIP . "<br>"; echo "<b>The Browser is: </b>" . $theBrowser . "<br>"; ?>
Check out other server variables from http://www.halharris.com/282/ServerVariables.htm.