[Mapserver-users] Timestamp?

Steve Lime steve.lime at dnr.state.mn.us
Mon Dec 9 20:38:29 PST 2002


SSI will work if your webserver can handle them WITH cgi. As far as I
know only Apache 2.0 can filter cgi output back through the server.
Otherwise the MapServer output goes straight to the client.

You could always use a bit of javascript.

Steve

Stephen Lime
Data & Applications Manager

Minnesota DNR
500 Lafayette Road
St. Paul, MN 55155
651-297-2937
>>> Dylan Keon <keon at nacse.org> 12/06/02 16:46 PM >>>
Gerry Creager wrote:
 > Is there a good way to place a "Current Time" on the generated MS
 > page?
 >
 > Thanks, Gerry

If you're not using PHP or Perl, you could use server-side includes if 
your web server is configured to support them.  Something like this...

Something like this:
    <!--#echo var="DATE_LOCAL"-->
will appear as:
    Friday, 06-Dec-02 14:38:18 PST

--Dylan


-- 
************************************************
  Dylan Keon
  GIS/Database Research Specialist
  Northwest Alliance for Computational
  Science and Engineering (NACSE)
  Oregon State University
  Corvallis, OR 97331
  keon at nacse.org        (541) 737-6608
************************************************

_______________________________________________
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users




More information about the MapServer-users mailing list