Answer the question
In order to leave comments, you need to log in
How to calculate the number of files in a folder and store the number in a variable?
Is it possible to find the number of files in a folder using jquery? Not on js, I found it on pure js, but I don’t know how to combine it with jquery, it probably sounds stupid), and it’s not necessary, what can you tell me?
$dir = opendir (".");
$i=0;
while ($file = readdir ($dir))
$i++;
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question