I’ve got most of the kinks worked out, and you can test it out live, at esrc.us (Limited to images only, and 30k max/file).
It’s can be somewhay annoying working with several arrays in PHP; as well as somewhat slow. I’ve worked around this by nesting my own select siwtches for the file management, as well as grafting together a recursive directory building structure. Code to eventually follow. ;)