Forum Moderators: phranque
I'm not sure if this is the right forum to ask, but ...
I just added the "last modified date/time" to 2 of my sites with PHP:
<? echo "Last modified: \$Date: " . date ("Y/m/d H:i:s", filemtime(__FILE__))." $";?>
The output:
Last modified: $Date: 2003/12/05 22:10:44 $
I see this format pretty often, but I wonder if there is any standard for this?
Furthermore do the search engines recognize it? If so, which format?
Thanks a lot in advance!
Cheers,
Hannes in Austria
I just saw that I didn't make clear that I do not send it as header information, but I include it in the content of the document - actually near the footer of the document.
In the first place as information for the user visiting a particular page.
Anyway, I will use the format as shown in the RFC for my pages.
Cheers,
Hannes.