Get Number of files inside Folder

function getFileCount($folder) {
    $filecount = 0;
    $files = glob($folder . "*");
    if ($files){
        $filecount = count($files);
    }
    return $filecount;
}
[instagram-feed feed=1]
© 2024 BenaDigital Limited | All Rights Reserved
magnifiercrosschevron-down