Ok, nochmal sorry wegen dem Doppelposting.
Also frag hier noch mal:
kann mir jemand sagen wie ich die Ausgabe von dem folgenden Script alphabetisch ordnen kann?
echo "<ul>";
if ($handle = opendir('ordner')) {
while (false !== ($file = readdir($handle))) {
if ($file != "." && $file != "..") {
$name = substr("$file", 0, -4);
echo "<li><a href="ordner/$file">$name</a></li>";
}
}
closedir($handle);
}
echo "</ul>";
Mfg
Simon