Yellow!
With the getDirArray function I have managed to list all files of a certain type (see below part of the code).
$FileList = getDirArray("./",".txt$");
if ($FileList) {
while (list($key,$val) = each($FileList)) {
print "$key: $val<br>\n";
}
}
This would show something like:
0: billi.txt
1: bob.txt
etc...
How would I cut of the extensions though?
So as to give me something like:
0: billi
1: bob
etc...
Thanx for help
Johannes