Hallo!
wie kann ich aus einem Ordner die Anzahl der files auslesen?
hat da jemand ein beispiel?
danke tom
					wie kann ich aus einem Ordner die Anzahl der files auslesen?
hat da jemand ein beispiel?
danke tom
<?
    $handle = opendir(".");
    $count=0;
    
    while($file = readdir($handle))
    {
        if($file != "." && $file != "..")
        {
            $count++;
        }
    }
    echo $count;
?>

Comment