Formazione
title

Linee Guida
Articoli Utili
'; //elenco file function elencafiles($dirname){ $arrayfiles=Array(); if(file_exists($dirname)){ $handle = opendir($dirname); while (false !== ($file = readdir($handle))) { if(is_file($dirname.$file)){ array_push($arrayfiles,$file); } } $handle = closedir($handle); } sort($arrayfiles); return $arrayfiles; } $arrayfile=array(); $arrayfile=elencafiles("uploadFile/upload/ArticoliUtili/"); $size = count($arrayfile); $i=0; foreach ($arrayfile as $value) { echo '

'.$value.'

'; $i = $i + 1; } //fine elenco file echo'
'; ?>