I have be looking through the internet for a PHP script which counts the number of folders in a given directory but can't find a thing.
Does anyone know of a small script that could be used to count folders and display the output?
<?
$dir="folder/"
Something.....??????
?>
<?php
//Number of folders
echo "Total Folders: ".$totalnofolders."";
?>
Any help would be much appreciated.
Cheers
Does anyone know of a small script that could be used to count folders and display the output?
<?
$dir="folder/"
Something.....??????
?>
<?php
//Number of folders
echo "Total Folders: ".$totalnofolders."";
?>
Any help would be much appreciated.
Cheers