Prova così:

Codice PHP:
<?php
$list 
glob('*.*');
usort($listcreate_function('$a,$b''return filemtime($b) - filemtime($a);'));

foreach (
$list as $filename) {
    if (!
preg_match("#((.php))#"$filename)) {
        if (!
preg_match("#((Form.html))#"$filename)) {
            
$link '[url="'.$filename.'"]Download[/url]';
            
//$link = htmlspecialchars($link);
            
$link str_replace(' '' '$link);
            echo 
"
            <div style=\"text-align: center; padding: 10px\">
                <div style=\"padding: 5px\">Nome del file: [b]" 
$filename "[/b]</div>
                <div style=\"padding: 0 5px\">Data di caricamento: [b]" 
date("d/m/Y - H:i:s"filemtime($filename)) . "[/b]</div>
                
$link
            </div>
            <hr />"
;    
        }
    }
}
?>