• Welcome to the Chevereto User Community!

    Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.

    Please keep in mind:

    • This community is user-driven. Always be polite and respectful to others.
    • Support development by purchasing a Chevereto license, which also gives you priority support.
    • Go further by joining the Community Subscription for even faster response times and to help sustain this space

List files in folder

  • Thread starter Thread starter batori
  • Start date Start date
B

batori

Guest
Put this wherever you want :

i've used this div to put it near the JPG GIF and MAXsize labels
This will list all the files in a specific folder

Eventually you can make it enumerate only jpg , ecc...

Code:
<div id="limite">Images Hosted : 

<?
$d = opendir("images");
$count = 0;
while(($f = readdir($d)) !== false)
  
     ++$count;
closedir($d);
print "$count";
?> 
</div>
 
Back
Top