PHP: How to get creation time of file with PHP on Linux machines PHP는 : 어떻게 리눅스 머신에서 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. 불행히도 리눅스 머신에서 파일의 생성 시간을 얻을 수없습니다. None of the functions fileatime , filemtime or filctime will return the file 기능 fileatime, filemtime 또는 filctime 아무도 파일을 반환합니다
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. 참고 : 또한 일부 유닉스 텍스트에서 파일의 ctime을 파일의 생성 시간이되고라고도합니다. This is wrong. 이것은 잘못된 것입니다. There is no creation time for Unix files in most Unix filesystems. (from php.net) 이미 대부분의 유닉스 유닉스 파일 시스템에있는 파일입니다. 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: 관련 게시물 :













































