I have a problem..I want to display files of a directory.And i want that newly created files are somehow highlighted from old files.
The following code (with thanks to user mab) displays files of a directory.
I want to differenciate the files which has been created within last X days..
(eg. to bold the new file names, to change color of new file names etc)
It can be done by putting this in while loop but i dont understand how to display values..
Quote:
|
$Diff = (time() - filectime("$path/$file"))/60/60/24;
|
Please help me in this problem.