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 Updates via RSS | Email Get updates via feedburner Get updates via twitter
Home / Coding / PHP / PHP: How to get creation tim… Home / Coding / PHP / PHP: Si te merrni krijimit tim ...

PHP: How to get creation time of file with PHP on Linux machines PHP: Si të merrni kohë krijimin e skedar me PHP në makinat Linux

Posted on 01. Dërguar të 01. Sep, 2009 by Dragos in Coding , PHP Shtator, 2009 nga Dragoskodim, 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. Për fat të keq nuk është e mundur të merrni kohë krijimin e një fotografi në makinat e Linux. None of the functions fileatime , filemtime or filctime will return the file Asnjë nga funksionet fileatime, filemtime ose filctime do të kthehen file
creation time. koha e krijimit.

Note : Note also that in some Unix texts the ctime of a file is referred to as being the creation time of the file. Shënim: Vini re gjithashtu se në disa tekste Unix ctime e një skedar është referuar si koha krijimi i file. This is wrong. Kjo është e gabuar. There is no creation time for Unix files in most Unix filesystems. (from php.net) Nuk ka kohë për krijimin e Unix fotografi në shumicën e filesystems Unix. (Nga 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. Në mënyrë për të zgjidhur këtë çështje, ju mund të përpiqen për të ruajtur në një bazë të dhënash / file kohën kur një skedar është krijuar për përdorim të mëvonshëm.

Translate this post Translate this post


Related posts: Related posts:

  1. Wordpress: Easily Reset Your Account Password Using MySQL and PHP Wordpress: Easily Reset Your Account Fjalëkalimi Përdorimi i MySQL dhe PHP

    blog comments powered by Disqus Komentet blog powered by Disqus