I was looking for a way to make some grafical stats of recieved files on my honeypot.
After thinking on the way to do so, i understood that the easiest way would be parsing the filename with regullar expression or using dir() command.
But for parsing the data i didnt find a way to do it with shell or directly with php, and thought that "ls -l" outputs the creation date, all fine till that point, but the problem arises here, i was thinking on parsing the date as yyyy-mm-dd, but when i do "ls -l" in php the output is given as "Sep 19" for example.
So is there a way in php to see the creation date of the file or to output directly the command from the linux so it will show "yyyy-mm-dd" .
Thanks in advance.