You Are Here: Home »   Code Friday September 3rd 2010

Code Library - php

Directory Total - (1501 views)


<?

$total
count(glob('/full/path/to/directory/*'));

echo 
"There are $total files in the directory";

?>