This is a translated page. The original can be found here: http://iwebdevel.com/2009/09/01/php-how-to-get-creation-time-of-file-with-php-on-linux-machines-filemtime-fileatime-filectime/
UPDATES VIA RSS | Email 업데이 트를 통해 RSS | 이메일 Get updates via feedburner Get updates via twitter
Home / Coding / PHP / PHP: How to get creation tim… / 코딩 / PHP는 / PHP는 : 어떻게 창조 팀면 ...

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로의 드라 고스에 의해

PHP 5.3 5.4 6 logo

PHP 5.3 5.4 6 logo PHP는 5.3 5.4 6 로고

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. 순서에서는, 당신은 데이터베이스에 저장하려고 할 수있다 / 시간을 때 파일을 나중에 사용하기 위해 만들어진 파일이이 문제를 해결합니다.

Translate this post 번역이 게시물에


Related posts: 관련 게시물 :

  1. Wordpress: Easily Reset Your Account Password Using MySQL and PHP WordPress의 : 쉽게 귀하의 계정에 비밀 번호를 MySQL과 PHP를 사용하여 재설정

    blog comments powered by Disqus 블로그 덧글 Disqus에 의해 제공