date/time of current page

From: Date: Tue, 11 Sep 2001 17:00:30 +0000
Subject: date/time of current page
Groups: php.general 
Request: Send a blank email to php-general+get-66961@lists.php.net to get a copy of this message
I want to put, into a footer include file, the last modified date of the current file being viewed. I have the following code that works when I hard code the file name - <? $dt=date("D, F d, Y g:i:s A", filemtime("index.php")); echo $dt; ?> But of course that won't work as a footer for a site with over two hundred pages. What is the parameter for the current page? I tried php_self but that didn't work properly (it returned Dec 31 1969). -- Chip Wiegand Simrad, Inc chip.wiegand@simrad.com

« previous php.general (#66961) next »