<?php foreach (glob("*.jpg") as $filename) { echo "$filename size " . filesize($filename) . "\n"; } ?>
get files from a dir filtered by certain name and extension in php
<?php foreach (glob("*.jpg") as $filename) { echo "$filename size " . filesize($filename) . "\n"; } ?>
get files from a dir filtered by certain name and extension in php