Answers for "directory listing script php"

PHP
0

php directory listing

if ($handle = opendir('.')) {

    while (false !== ($entry = readdir($handle))) {

        if ($entry != "." && $entry != "..") {

            echo "$entry\n";
        }
    }

    closedir($handle);
}
Posted by: Guest on June-08-2020

Code answers related to "directory listing script php"

Browse Popular Code Answers by Language