Update upload.php

There was a bug in multiple file uploads, now I've fixed.