Magari a qualcuno può servire:

if (!empty($_FILES['fotonew']['name'])) {

cosi funziona perfettamente

Grazie a tutti