ho inserito l'echo ma non mi stampa nulla:

Codice PHP:
$extlimit "yes"
$limitedext = array(".ppt",".xls",".doc",".pdf",".gif",".jpg"); 

$dir "dir"

$ext strrchr($file_name,'.'); 
if ((
$extlimit == "yes") && (!in_array($ext,$limitedext))) { 
echo(
$file_name);
$msg "Il file che stai pubblicando non ha un'estensione corretta"