read())) { if(substr($entry,-4)==".jpg") { array_push($a,$entry); } } asort($a); foreach($a as $i){ $k=(int)(filesize($i)/1024); # echo "$i ${k}k
"; echo "
$i ${k}k
"; } $d->close(); ?>
Download script pubwin.py