PHP code for listing files in a Folder

If you want to list all the files in a folder for some purpose here is a php code for that .You can use this below code to list all the files in a folder

read())
{
echo $folderEntry.”
“;
}
$folder->close();
?>
Posted in Php Tagged with: ,