if (isset($_FILES['myfile'])) { // do your thing here }
if ($_FILES['myfile']['error'] != 4) { // do your thing here }