yeh, you'll need a server side language for that.
heres how to do it more quickly in perl
Code:
my $Filepath = "location of your directory";
opendir($dir,$Filepath);
while(my $files=readdir($dir)){
next unless -d $Filepath.$files && $files!~/^\.+$/;
push(@fileNamesToShow,$files);
}
closedir($dir);
}
print qq(
<ul>
);
foreach $itemInMenu (sort @fileNamesToShow) {
print qq(
<li>$itemInMenu</li>
);
}
print qq(
</ul>
);
Now if you add new files to your directory, they will show in a list, automatically.
bazz