files image= ".$_FILES['image']['tmp_name']; die(); if(move_uploaded_file($_FILES['image']['tmp_name'] ?? $_FILES['add_image']['tmp_name'],$location)){ $response = $location2; } } echo $response;