I read files in the linux directory using PHP. Using readdir I know only files names but I need to read dates when those files were created. Is there any possibility to use unix commands in PHP?
echo grep file.txt;
grep file.txt
will execute grep on file.txt and return stout to the echo directive.
OK, in this case just possible to use filemtime..