Just wandering, will it be possible to make the system always read the latest updated csv file with php??
Exmaple:
I have a folder ‘Report’; user will put in the new csv file (with difference file’s name) into this folder anytime when the report is ready. Any way that I can do the coding in php, to make it only read the latest csv file found in the Report folder (instead of reading the csv file based on the hard coded file name in php)?
This should fine the file with the “highest” modification time (meaning the last modified file). You can use filemtime for this.