Hello all.
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.
jen140 0 Junior Poster
paisleyboxers 5 Newbie Poster
jen140 0 Junior Poster
digital-ether 399 Nearly a Posting Virtuoso Team Colleague
jen140 0 Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.