I am currently doing a project on website programming with PHP and mySQL. In general the project allows users to upload their files to the server and perform searches later according to the "file creation date". I use double quotation here since I want to extract the date when the file was created from nothing (not the file modified date).
I have been looking at a lot of programming forums and reference websites while most of them just introduced the use of filemtime()
and filectime()
. I have tried both of them and they only returned the "file modified time" (the time when the files were uploaded to the server by me in this development stage).
Knowing the actual file creation time is very important to me because I will use it to perform timeline search later as a requirement of the project. I have got stuck here. Really appreciate any kind help and suggestions.
I am using "xampp" for the web and database servers (the app has the configuration by default) and HTTP+PHP for the front end.