I am using a single JSON response format to cover a number of possible responses.
The response contains a field that, optionally, contains a link to an external reso
jus add a comma at the end
if( checkType( $_FILES["CV"]["type"], "application/pdf,image/jpeg,image/png,video/mp4,audio/mpeg,application/msword,application/excel,application/vnd.ms-excel,application/vnd.openxmlformats-officedocument.wordprocessingml.document," ) ) {