|
|
Here are the HTML codes (Server Side Include) for creating date, time, counter, and hostname of visitor on Ocean. In order to use these dynamic elements on your page, you first copy the html codes in the "red" text and then insert them in your Web page. Finally, you must save your Web page with the extension ".shtml" in order to work properly in Ocean.
Local Date and Time
06:22 U.S. Central Time
<!--#echo var="DATE_LOCAL" -->
Date with GMT time zone
11:22 U.S. Central Time
<!--#echo var="DATE_GMT" -->
Server Name
dragon.ep.usm.edu
<!--#echo var="SERVER_NAME" -->
Remote Address
38.103.63.61
<!--#echo var="REMOTE_ADDR" -->
Last Modified
This page was last modified
12:44 U.S. Central Time
. .
This page was last modified <MODIFIED_DATE=''case='lower'
type='string'/>.
Alternatively, you can use the sample javascript shown below to get the same
result:
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
var m = "Page updated " + document.lastModified;
var p = m.length-8;
document.writeln("<center>");
document.write(m.substring(p, 0));
document.writeln("</center>");
// End -->
</SCRIPT>
Free Web Counters
Free Counters and Statistics
Free Guestbooks
Last updated:
August 16, 2006
![]() Copyright © 1994 - 2007 Dr. Steve Yuen. All rights reserved. |