PHP -Liste *Dateien

foreach(glob(IMAGEPATH.'*') as $filename){
    echo basename($filename) . "\n";
}
Other God