Ever hear of the flastmod include? Me neither. Here’s what it does. You can use it just like a #include directive server-side include, except instead of including a file, it returns the last modified timestamp of the file you request. If you’re using SSI in your site, add:

<!– #flastmod file=”index.shtml” –>

to any parsed file (ending in shtml) and it will print the last modified timestamp of whichever file you pass as the parameter. Nifty, eh? (See the bottom of the Works in Progress index page for an example.)
Note: MovableType users can simply use the <$MTDate$> tag to get the same data.

Post the first comment:

I'll never share your email address and it won't be published.

What Is This?

davidgagne.net is the personal weblog of me, David Vincent Gagne. I've been publishing here since 1999, which makes this one of the oldest continuously-updated websites on the Internet.


A few years ago I was trying to determine what cocktails I could make with the alcohol I had at home. I searched the App Store but couldn't find an app that would let me do that, so I built one.


You can read dozens of essays and articles and find hundreds of links to other sites with stories and information about Ernest Hemingway in The Hemingway Collection.