Show Total Count of Files in a Directory

In this tutorial I will show you how to add total count of files in a directory of\\in your wapka file manager..

After this tutorial you will be able to show how much files are there is a direcory.. i.e. How much in games directory etc. Lets do it.

  1. Login to your wapka account
  2. Goto Admin Mode
  3. Get your DIR ID's by going to ES > FILE MANAGER, in our case 1 for games and 2 for applications.. It will be different for yours..
  4. In homepage.. Add wml code via ES > WML/xHTML code
  5. Change ID with the Directory ID which we get in step 3.
  6. If you wanted to count files for multiple ID's use the following code instead of above

    Change ID1, ID2, ID3 with the directory ID's, you can add more directories just seperate new one with a space.
  7. Here are some examples, you can use..
    1. Only Total files in games directory
    2. Total Files in games and application directory
The main usage of this code is to count total files in a directory or several directories from FILE MANAGER, for example you wanted to show total files before the link to games directory :) Comment if you like this tutorial..
Join our facebook page
Create your own free wapsite in minutes
Request New Tutorials


  1. How can the user download the files from that games directory?how can i use file id? Please say.i searched your site,but its not there

  2. Please search for download page tutorial on this blog, you will get the answer

  3. thanks man..............

    But what about if i want to show it inside the file category........?

    I mean example if you click on Game category inside it at the top you should indicate that there is some xxx files in this Category......

    Can this be possible in wapka site....?

    E.g check

  4. Yes its possible, just use :filelist: with l=0

  5. Hi

    If I add some Links in a page.
    pls tell me the code for Count of total of file added in page

    Eg : Live tv(14)
    Live movie(16)
    Live video(25)

  6. how can i show my file count to user plz help with screen short.

  7. mere pass file manager nhi hai ise kaise active kare


You are always welcome to add comments and suggestion about the tutoiral. Please note that, we do not allow misuse and if you have any questions write briefly so that our moderators can understand your message and reply as early as possible.