Výpis adresáře

handle."
\n"; //echo "Path: ".$d->path."
\n"; $filelist = array(); while($entry=$d->read()) { $filelist[] = $entry; // if (substr($entry,0,1)=="_") {echo "". $entry."
\n";}; } $d->close(); /* echo "

"; $count = count($filelist); for($i=0;$count>$i;$i++) { // if (substr($filelist[$i],0,1)=="_") {echo "". $filelist[$i] ."
\n";} ; } echo "

"; */ sort($filelist); $count = count($filelist); for($i=0;$count>$i;$i++) { // if (substr($filelist[$i],0,1)=="_") {echo " ". $filelist[$i] ." \n";} ; } ?>