Creating Websites That Work! Call Toll Free at 1-877-530-7993 For Assistance With Your Web Needs.
Design Solutions
E-commerce
Hosting Plans
Other Services
PERL - Date Last Modified

1.) Upload to your cgi directory, chmod 755. 
You must call this script using an  include statement in your SSI file. 

#!/usr/local/bin/perl

print "Content-type: text/html\n\n";

$file ="$ENV{'DOCUMENT_ROOT'}";
$file2 ="$ENV{'DOCUMENT_URI'}";
$file3 =$file . $file2;

use File::stat;
use Time::localtime;

$date_string = ctime(stat($file3)->mtime);
print qq~
<font size=2>Last updated on $date_string</font><BR>
~;
exit;


  

Learning Center
About Us
Create-A-Website provides you with professional custom web solutions at affordable prices!