In my form I have 3 input fields for file upload:
if ($_FILES['cover_image']['size'] == 0 && $_FILES['cover_image']['error'] == 0) { // Code comes here }
This thing works for me........