Fixing a bug in processupload.php