note 17214 rejected from function.filemtime by zak
| From: | zak@php.net | Date: | Thu, 29 Nov 2001 22:23:50 +0000 |
| Subject: | note 17214 rejected from function.filemtime by zak | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-21456@lists.php.net to get a copy of this message | ||
Does anyone know how to pull up the name of the file being read? I would like to add a footer that
says, "index.html last modified on Thursday Nov 29, 2001 2:06pm" I know I can use the
getcwd(); function to pull up the current path, but how do I find out a files name without having to
type in a $filename="index.html"; I'v tried using basename, but I'm still not
getting something right.
Thanks