note 17214 added to function.filemtime

From: Date: Thu, 29 Nov 2001 22:10:14 +0000
Subject: note 17214 added to function.filemtime
Groups: php.notes 
Request: Send a blank email to php-notes+get-21453@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 -- http://www.php.net/manual/en/function.filemtime.php http://master.php.net/manage/user-notes.php?action=edit+17214 http://master.php.net/manage/user-notes.php?action=delete+17214 http://master.php.net/manage/user-notes.php?action=reject+17214

« previous php.notes (#21453) next »