Codice PHP:
for ($i 1$i <= 10$i++) {
    
$index "fleImage".$i;
    if (isset(
$_FILES[$index])) {
        
// fai quel che vuoi
    
}