Verify file upload status

Codes returned are from here: http://php.net/manual/en/features.file-upload.errors.php