I believe there's some upper limit to the number of files permitted in
a directory on many web servers (and a corresponding performance hit
as the numbers get large?)
I'm doing an application where users are allowed to upload files
(PDF's, images) and there is a nonzero possibility that the quantities
involved could get that large, so I'm reluctant to just consign
everything to a common /uploads/ directory
Is there a, um... strategy? A best practice for this? I see these
forking upload directories with folders that are long numbers a lot-
but I'm not clear on the mechanism involved. Do the numbers represent
some sort of system? When 'seeking' a file, how does the script know
which sub-directory (or sub-sub directory) it's buried under?
....help? I'm all dizzy and turned around! Could someone point me in
the right direction and give me a gentle push and a kind word of
advice?
-Derik