PHP: How to get creation time of file with PHP on Linux machines : PHP कैसे Linux मशीन पर PHP के साथ फाइल का सृजन बार पाने के लिए
Posted on 01. 01 पर तैनात हैं. Sep, 2009 by Dragos in Coding , PHP सितम्बर, 2009 कोडिंग, PHP में Dragos द्वारा
Unfortunately it is not possible to get the creation time of a file on Linux machines. दुर्भाग्य से यह संभव Linux मशीन पर एक फ़ाइल के निर्माण के समय नहीं है. 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. नोट: यह भी ध्यान रखें कि कुछ Unix ग्रंथों में एक फ़ाइल के ctime को फाइल के निर्माण के समय के रूप में निर्दिष्ट किया जा रहा है. This is wrong. यह गलत है. There is no creation time for Unix files in most Unix filesystems. (from php.net) वहाँ यूनिक्स सबसे Unix filesystems में फ़ाइलें. (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. आदेश में इस मुद्दे को हल करने के लिए, आपको एक डाटाबेस में स्टोर की कोशिश / जब एक फ़ाइल बाद में उपयोग के लिए बनाया है समय फ़ाइल सकता है.
Related posts: संबंधित पोस्ट:













































