apposto problema risolto, grazie comunque :
if (is_uploaded_file($_FILES['image']['tmp_name'])) {
if ($_FILES['image']['size'] > 999999999) {
header("location: profilo.php?er=112");exit;//dimensioni troppo grandi
}
list($width, $height, $type, $attr) = getimagesize($_FILES['image']['tmp_name']);
if (($width > 30003) || ($height > 30030)) {
//
}
if (($type!=1) && ($type!=2) && ($type!=3)) {
header("location: profilo.php?er=114");exit;//formato non supportato
}
if (file_exists('../utenti/img/'.$_FILES['image']['name'])) {
header("location: profilo.php?er=115");exit;
}
move_uploaded_file($_FILES["image"]["tmp_name"],"../utenti/img/".$idp.$nameimage)