[Wolves] flastmod

steve parkes wolves at mailman.lug.org.uk
Wed Nov 13 12:46:02 2002


>From: Peter Oliver <p.d.oliver@mavit.freeserve.co.uk>
>Reply-To: wolves@mailman.lug.org.uk
>To: wolves@mailman.lug.org.uk
>Subject: Re: [Wolves] flastmod
>Date: Tue, 12 Nov 2002 20:11:04 +0000 (GMT)
>
>On Mon, 11 Nov 2002, Simon Howes wrote:
>
> > Anyone understand flastmod for SSI?  I want it to show the date and time 
>of
> > the last time a file was updated.
> >
> > I'm using the script:
> >
> > <!--#config errmsg="Bungled again!"-->
> > <!--#config timefmt="%A %B %C, the %jth day of the year, %S seconds 
>since
> > the Epoch"-->
> > The mod time of index.shtml is <!--#flastmod 
>virtual="index.shtml"--><br>
> > The mod time of main.shtml is <!--#flastmod virtual="main.shtml"--><br>
> > The mod time of left.shtml is <!--#flastmod virtual="left.shtml"--><br>
> > The mod time of top.shtml is <!--#flastmod virtual="top.shtml"--><br>
> > The mod time of bottom.shtml is <!--#flastmod 
>virtual="bottom.shtml"--><br>
> >
> >
> > I have found out how to get the date to show by using %B %C %D, I just 
>want
> > the time in hh:mm:ss.  %H %M %S doesn't work.
>
>Well, it should do.  In what way does it not work?  Have you
>double-checked for typos?  Modifing the above to include the line
><!--#config timefmt="%A %B %C, the %jth day of the year, %S seconds since 
>the Epoch, and %H:%M:%S"-->
>works for me.
>
Some hosts disable bits of SSI (like include) because they are wusses who 
can sort out basic security ;-)

make sure you haven't got a brain dead module used by this kind of host

sparkes

_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. 
http://join.msn.com/?page=features/virus