PHP Function To Count NUMBER of Total Files

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    PHP Function To Count NUMBER of Total Files

    i need php function that count number of total files in a directory and all sub directories in it.
    Please upload the function in a text file,so i download it.

    #2
    re

    this has already been asked and answered before.please use the search button before posting.

    PHP Code:

    $game 
    count($list['files/games']); // files/games is the directory you wish to count

    $game count($list['games']);
    $ring count($list['ringtones']);
    $wall count($list['wallpapers']);
    $themecount($list['themes']);
    echo 
    $game;  
    echo 
    $ring;
    echo 
    $wall;
    echo 
    $theme
    Last edited by ozziemale31; 29.12.12, 04:22.









    Dont Ask Me Dumb Questions.Or you'l get a Dumb Answer..
    Want A Profesional Logo or Theme For Your wap site Pm Me.If I Have The Time Ill Make It For Free

    Comment

    Working...
    X