Update uploadConfirmation.php

Fixes a problem where uploading the wrong file type will cause an endless loop that fills up the apache error.log until the disk is full.