note 23211 added to function.filemtime

From: Date: Thu, 11 Jul 2002 19:43:07 +0000
Subject: note 23211 added to function.filemtime
Groups: php.notes 
Request: Send a blank email to php-notes+get-32925@lists.php.net to get a copy of this message
I think for the two examples above, the strings being passed have non-delimited characters. ie.- "c:\path\foo.php" instead of "c:\\path\\foo.php" If you're trying to get the modification date of the file itself, then this may work for you: print (date("Ymd", filemtime(addslashes($PATH_TRANSLATED)))); -- http://www.php.net/manual/en/function.filemtime.php http://master.php.net/manage/user-notes.php?action=edit+23211 http://master.php.net/manage/user-notes.php?action=delete+23211 http://master.php.net/manage/user-notes.php?action=reject+23211

« previous php.notes (#32925) next »