Thanks, Infinite Recursion.
Oh, and I plan to fix it so it works right in IE. As well as make the XHTML W3C compliant (I just threw together the HTML because I was more concerned/amsued with the PHP code.)
Then I plan to add that blue sidebar that WinXP has, with the "Details" and the locations and the sort. So you can do all sorts of stuff with files. Maybe add some context menu stuff... just anything that comes to mind.
Eventually, it might just turn into a proper all-purpose directory listing. Something that can replace the Apache auto-index.
Anyways, this was all just for fun. I'm not drunk anymore... nor caffeinated... and my amusement seems gone. :/ Oh well. I hope I eventually get back to work on it...