PHP: How to get creation time of file with PHP on Linux machines PHP: Cara mendapatkan waktu penciptaan file dengan PHP pada mesin Linux
Posted on 01. Posted on 01. Sep, 2009 by Dragos in Coding , PHP Sep, 2009 oleh Dragos di Coding, PHP
Unfortunately it is not possible to get the creation time of a file on Linux machines. Sayangnya tidak mungkin untuk mendapatkan waktu penciptaan dari sebuah file di mesin Linux. None of the functions fileatime , filemtime or filctime will return the file None fungsi fileatime, filemtime atau filctime akan kembali file
creation time. penciptaan waktu.
Note : Note also that in some Unix texts the ctime of a file is referred to as being the creation time of the file. Catatan: Perhatikan juga bahwa dalam beberapa teks-teks Unix yang kriminal dari sebuah file yang disebut sebagai waktu penciptaan dari file. This is wrong. Ini salah. There is no creation time for Unix files in most Unix filesystems. (from php.net) Ada waktu untuk Unix penciptaan file dalam filesystem yang paling Unix. (Dari php.net)
In order to solve this issue, you could try to store in a database/file the time when a file is created for later use. Untuk mengatasi masalah ini, Anda bisa mencoba untuk menyimpan dalam sebuah database / file saat file diciptakan untuk digunakan kemudian.
Related posts: Related posts:













































