PHP reads all the same types of files under a directory
how to read the total number of files for JPG in the Album folder,
[code].lt;? Php
$files =; / / / / other files, such as amendments, etc. If you have a directory, please add an absolute directory. For example, c:/album/*.jpg
echo'total: ', count ($files); / / $files is an array of files.
?.gt; [/code]