Script To Show Amount of Files?

Discussion in 'Web Design & Coding' started by Alex_is_Axel, Jul 17, 2003.

  1. Alex_is_Axel

    Alex_is_Axel .:: FTPAlex ::.

    Messages:
    1,156
    Location:
    Cheshire, United Kingdom
    Goodafternoon everyone,

    Quick question really. I was wondering if there was a active desktop script i could use to show how many files i have in a certain folder or how many files i have of a certain type? Is it possible?

    Thank you for your help and time

    Sincerly Alex :cool:
     
  2. SPeedY_B

    SPeedY_B I may actually be insane.

    Messages:
    15,800
    Location:
    Midlands, England
    It can be done with PHP, I've just written this (attached) to count all files and folders within a dir...

    I'm going to add more to it though :)
     
  3. SPeedY_B

    SPeedY_B I may actually be insane.

    Messages:
    15,800
    Location:
    Midlands, England
    updated version, should be easy enough to understand, I would imagine that it could be more efficient with the use of arrays and such, but at least it works :)