If you're running Linux, you can get a dir's usage with 'du' and, every time someone tries to upload something, your upload script checks if the file that has just been uploaded is smaller than (size_limit) - (du_output).
HTH,
Luciano ES
Santos, SP - Brasil