• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • 😌 This community is user driven. Be polite with other users.
    • 👉 Is required to purchase a Chevereto license to participate in this community (doesn't apply to Pre-sales).
    • 💸 Purchase a Pro Subscription to get access to active software support and faster ticket response times.

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