You have to use opendir,readdir functions
$dirHandle=opendir('/path2dir/');
while ($file = readdir($dirHandle)) {
echo "$file<BR>";
}
closedir($dirHandle);
Lauri Lüüs wrote:
How can I list files from certain directory with php?. This should'nt be difficult???