$acceptType = ["image/png", "image/jpg", "image/jpeg"]; if (in_array($_FILES["resim"]["type"], $acceptType))