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 GÜNCELLEME VIA RSS | E-posta Get updates via feedburner Get updates via twitter
Home / Coding / PHP / PHP: How to get creation tim… Home / Kodlama / PHP / PHP: nasıl oluşturma tim almak ...

PHP: How to get creation time of file with PHP on Linux machines PHP: Linux makinalarda PHP ile dosya oluşturma süreleri elde etmek için

Posted on 01. 01 Posted on. Sep, 2009 by Dragos in Coding , PHP Eyl, 2.009 Kodlama, PHP yılında Dragos tarafından

PHP 5.3 5.4 6 logo

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

Unfortunately it is not possible to get the creation time of a file on Linux machines. Maalesef Linux makineler üzerinde dosyanın oluşturma süreleri elde mümkün değildir. None of the functions fileatime , filemtime or filctime will return the file Işlevlerine fileatime, filemtime veya filctime hiçbiri dosya döndürecektir
creation time. oluşturma zaman.

Note : Note also that in some Unix texts the ctime of a file is referred to as being the creation time of the file. Not: Ayrıca bazı Unix metinlerde bir dosyanın ctime için dosyanın oluşturma Şimdilik denir unutmayın. This is wrong. Bu wrong. There is no creation time for Unix files in most Unix filesystems. (from php.net) There Unix çoğu Unix filesystems dosyalari. Php.net () edinildi için oluşturma zamanıdır

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. Sipariş, bir veritabanında saklamak için deneyebilirsiniz / zaman bir dosya sonra kullanmak oluşturulur dosya Bu sorunu çözmeye.

Translate this post Translate bu yazı


Related posts: Ilgili posta:

  1. Wordpress: Easily Reset Your Account Password Using MySQL and PHP Wordpress: kolayca Hesabınız Parola MySQL ve PHP Kullanımı Sıfırla

    blog comments powered by Disqus Blog Yorumlar Disqus tarafından desteklenmektedir