Update upload.php

I have made a mistake, at line 37 and 38. Thank you Lasse Rafn.