am mai incercat o varianta, dar imi da eroare la sfarsit "Parse error: syntax error, unexpected end of file in D:/localhost/uuu.php on line 154 "
$lista_fisiere = get_list_dir($cale_fisiere, false, 'file', true, $fisiere_excluse);
$array = file($$lista_fisiere, true);
foreach($array as $value)
{
if(preg_match('/(\d+)/', $value))
{
echo array($value);
}
intreg codul aici http://codepad.org/JQZxEkaf