I was using "getlastmod()" in my site and it recently stopped working. Now it shows "Last update on December 31 1969 19:00:00" rather than the last date I updated the page.
Here is the code.....
<?
$Lastmodified = date ("F d Y H:i:s.", getlastmod());
print "Last update on $Lastmodified";
?>
The only thing that changed recently is that I changed my PHP install to run as CGI rather than as a module.
Specs:
PHP 4.2.3
Apache 1.3.28
Redhat Linux 7.2 OS
Any idea why I cannot get this function to work properly? It worked fine for over a year and suddenly, not.