I threw together this random code a little while ago, it's kinda cool. It basically allows you to have a virtual file system much like windows explorer, but on a website:
http://thejefffiles.com/library/vfsindex.php
there's an example
here's the code (attached)