M
M
Mobody2012-10-06 13:22:56
PHP
Mobody, 2012-10-06 13:22:56

filemtime() and real file modification date

It seems to be a simple task, but I can not solve it in any way.

How to get the REAL modification date of a file? And not the date of the change on the server - in my case, this is the date of upload to the server. FTP shows the correct date.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
C
cronfy, 2012-10-06
@cronfy

All file modification (and access) times are shown by stat() . If it's not there, then it's not there.

N
Nazar Mokrinsky, 2012-10-06
@nazarpc

Try the third filectime() function as well.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question