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 AĠĠORNAMENTI VIA RSS | Email Get updates via feedburner Get updates via twitter
Home / Coding / PHP / PHP: How to get creation tim… Home / Kodifika / PHP / PHP: Kif tista 'tikseb tim ħolqien ...

PHP: How to get creation time of file with PHP on Linux machines PHP: Kif tikseb ħin ħolqien tal-fajl ma PHP fuq magni Linux

Posted on 01. Posted on 01. Sep, 2009 by Dragos in Coding , PHP SEP, 2009 mill Dragos fl-Kodifika, PHP

PHP 5.3 5.4 6 logo

PHP 5.3 5.4 6 logo PHP 5,3 5,4 6 logo

Unfortunately it is not possible to get the creation time of a file on Linux machines. Sfortunatament ma jkunx possibbli li tikseb il-ħin ħolqien ta 'fajl fuq il-magni Linux. None of the functions fileatime , filemtime or filctime will return the file Xejn tal-funzjonijiet, filemtime fileatime jew filctime ser jirritorna l-fajl
creation time. ħolqien ta 'żmien.

Note : Note also that in some Unix texts the ctime of a file is referred to as being the creation time of the file. Nota: Innota wkoll li f'xi testi Unix l-ctime ta 'fajl huwa msemmi bħala l-ħin ħolqien tal-fajl. This is wrong. Dan huwa ħażin. There is no creation time for Unix files in most Unix filesystems. (from php.net) M'hemmx ħin għall-ħolqien Unix fajls fil-filesystems Unix aktar. (Minn 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. Sabiex issolvi din il-kwistjoni, inti tista 'tipprova li jaħżnu f'database / fajl-żmien meta l-fajl huwa maħluq għal użu aktar tard.

Translate this post Ittraduċi din il-kariga


Related posts: Related postijiet:

  1. Wordpress: Easily Reset Your Account Password Using MySQL and PHP Wordpress: Faċli Reset Your Account Password użu MySQL u PHP

    blog comments powered by Disqus blog kummenti powered by Disqus