Così dovrebbe andare, fammi sapere, ciao

Codice PHP:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Documento senza titolo</title>
</head>

<body>

<?php
$nome_file 
$_FILES['immagine']['name'];
$immagine $_FILES['immagine'];
$percorso "upload/";
move_uploaded_file($immagine['tmp_name'], $percorso.$immagine['name']);
?>


[img]<?=$percorso.$nome_file ?>[/img]




<?php
echo "Il nome del file inviato è : $nome_file";
echo 
"
"
;
echo 
"La dimensione del file è : " $_FILES["immagine"]["size"];
echo 
"
"
;
echo 
"Il file è di tipo : " $_FILES["immagine"]["type"];
?>

</body>
</html>