ho trovato l'errore...

codice sbagliato:
Codice PHP:
else {$file_scelto $_POST['file_corrente'] ; } 
$_SESSION['file_scelto'] = $file_scelto
echo 
"file scelto: ".$file_scelto 

codice giusto:
Codice PHP:
else 
{
  
$file_scelto $_POST['file_corrente'] ; 
  
$_SESSION['file_scelto'] = $file_scelto
  echo 
"file scelto: ".$file_scelto 

parentesi chiusa troppo presto....

grazie in ogni caso