I have a directory with about 100 sub-directories (nested, some 3-4 deep). I need a small PHP script that will simply output a list of the 11 most recently added (or modified, as they are all pdf’s) files, with a simple <br /> between each, each being linked to their URL.
I have found a few scripts that can do 1, or all, but have no clue how to even begin to limit to 11 specifically, or how to apply the exact href.
my alternate concern is server usage of this script, as it will be placed on a landing page that will see low usage, however every user will see it.
any ideas on resources to look into, or places to start, would be appreciated!
Not tested, but it should work: