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 Atnaujinimai Via RSS | E-mail Get updates via feedburner Get updates via twitter
Home / Coding / PHP / PHP: How to get creation tim… Pagrindinis / Kodai / PHP / php: Kaip gauti kūrimas Tim ...

PHP: How to get creation time of file with PHP on Linux machines PHP: Kaip sukurti laiko Bylos su PHP Linux mašinos

Posted on 01. Posted on 01. Sep, 2009 by Dragos in Coding , PHP Sen, 2009 by Dragos ir kodavimo, PHP,

PHP 5.3 5.4 6 logo

PHP 5.3 5.4 6 logo PHP 5.3 5.4 6 logotipas

Unfortunately it is not possible to get the creation time of a file on Linux machines. Deja, neįmanoma gauti sukūrimo laiką Linux mašinos failas. None of the functions fileatime , filemtime or filctime will return the file Nė viena iš funkcijų fileatime, filemtime ar filctime grįš failą
creation time. kūrimo metu.

Note : Note also that in some Unix texts the ctime of a file is referred to as being the creation time of the file. Pastaba: Atkreipkite dėmesį, kad kai Unix tekstai apie failą CTime yra vadinami steigimo metu iš failo. This is wrong. Tai yra neteisinga. There is no creation time for Unix files in most Unix filesystems. (from php.net) Nėra kūrimo metu Unix failų daugelyje Unix failų sistema. (Iš 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. Siekiant išspręsti šią problemą, galite bandyti laikyti duomenų bazę / failą metu, kai byla yra sukurtas vėliau naudoti.

Translate this post Translate this post


Related posts: Related posts:

  1. Wordpress: Easily Reset Your Account Password Using MySQL and PHP WordPress: lengvai pakeisti slaptažodį sąskaitos naudojant MySQL ir PHP

    blog comments powered by Disqus Dienoraštis komentarus maitina Disqus