PHP: How to get creation time of file with PHP on Linux machines PHP: How to get létrehozásakor a fájl a PHP Linux gépek
Posted on 01. Posted on 01. Sep, 2009 by Dragos in Coding , PHP Sep, 2009 Dragos a Coding, PHP
Unfortunately it is not possible to get the creation time of a file on Linux machines. Sajnos ez nem lehetséges-hoz kap a létrehozásakor a fájl a linuxos gépek. None of the functions fileatime , filemtime or filctime will return the file Egyik a funkciókat fileatime, filemtime vagy filctime vissza fog térni a fájl
creation time. létrehozásakor.
Note : Note also that in some Unix texts the ctime of a file is referred to as being the creation time of the file. Megjegyzés: Ne feledje, hogy a néhány Unix szövegek a ctime egy fájl-ként említik, hogy a létrehozásakor a fájl. This is wrong. Ez rossz. There is no creation time for Unix files in most Unix filesystems. (from php.net) Nincs létrehozásakor a Unix fájlok a legtöbb Unix fájlrendszer. (A 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. Annak érdekében, hogy megoldja ezt a problémát, megpróbálhatod tárolni egy adatbázisban / fájlban, amikor egy fájlt hoz létre a program későbbi felhasználásra.
Related posts: Related posts:













































