# Any server script to count no. of images in a folder?

**URL:** <https://forum.kirupa.com/t/any-server-script-to-count-no-of-images-in-a-folder/101465>\
**Category:** Uncategorized\
**Created:** [February 10, 2004, 4:25am UTC](https://forum.kirupa.com/t/any-server-script-to-count-no-of-images-in-a-folder/101465 "2004-02-10T04:25:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sanjay2211](https://avatars.discourse-cdn.com/v4/letter/s/c4cdca/32.png) [@sanjay2211](https://forum.kirupa.com/u/sanjay2211)\
**Post date:** [February 10, 2004, 4:25am UTC](https://forum.kirupa.com/t/any-server-script-to-count-no-of-images-in-a-folder/101465/1 "2004-02-10T04:25:00Z")

</div>

Hi ! all

I just want to count how many images in a folder.

Can anyone give me such .asp, php or any script, which can count no. of image in a folder, so that i can call that value to flash.

For now, i m doing this with the text file, but i manually have to enter a value for no. of images in that text file. Instead of that, I want that my script should count no. images in that folder.

Plz, help me in this…
