I have come up against an issue now three times today (all from completely different sources). Basically, people would like to be able to upload web pages with images and possible other linked web pages. You can upload a zip file of all required files and even a directory structure, and unzip them in the file structure. The problem is that 'file.php' runs from the root, and any HTML references in the files uploaded will be relative to wherever those files have been uploaded to. When 'file.php' load them, the relative structure is lost.
I'm going to have a look and see if there is anyway to change the function so that the relative structure isn't lost, but I'm curious if anyone can think of another (better) solution? This could also be useful for the assignment module (and the webquest?), although it may be a bad thing to allow students to upload zip structures and unzip them.