I am a newbie to PHP. I have searched other posts looking for a solution. Although many are close, I just can't find one. Will someone point me in the right direction? I need to do the following:
Read the directory of html or php pages and extract the date modified.
Determine whether the change is 0-2 days old [1] or 3-7 days old [2]
Set a variable that can be read in a js file indicating the age [1] or [2]
put the file name in an array holding ages [1] or [2]
display each array in alpha order as links
This may be quite complex for a newbie but I need to do it.
Thanks in advance for any help.
Bob