PHP: How to get creation time of file with PHP on Linux machines PHPの:どのようにLinuxマシン上でPHPでファイルの作成時刻を取得する
Posted on 01. 01に掲載した。 Sep, 2009 by Dragos in Coding , PHP 9月、2009 のコーディング 、PHPのでドラゴシュで
Unfortunately it is not possible to get the creation time of a file on Linux machines.残念ながら、Linuxマシン上のファイルの作成時刻を取得することはできません。 None of the functions fileatime , filemtime or filctime will return the file機能fileatime、filemtimeまたはfilctime Noneのファイルを返します。
creation time.作成時に。
Note : Note also that in some Unix texts the ctime of a file is referred to as being the creation time of the file. 注 :また、いくつかのUnixのテキスト内のファイルのctimeはファイルの作成を当分の間と呼ばれることに注意。 This is wrong.これは間違っています。 There is no creation time for Unix files in most Unix filesystems. (from php.net)ようこそUnixのほとんどのUnixのファイルシステム内のファイル。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.順序では、データベースに格納しようとする可能性/時間のときにファイルを後で使用するために作成されるファイルは、この問題を解決する。
Related posts:関連記事:













































