I am searching for a proper php script for directory listing, i found many but non of them served my purpose.
I want to view the directories in multi columns.Have you tried <!-- w --><a class="postlink" href="http://www.hotscripts.coma">www.hotscripts.coma</a><!-- w --> directory in columns?
if ($dir = @opendir("/tmp")) {
while (($file = readdir($dir)) !== false) {
echo "$file\n";
}
closedir($dir);
}
you may have to make your own seeing how none of them served your purpose.i made one thats in use at scriptsource.tk . its very confusing though, and probably could have been done with half the code.
I want to view the directories in multi columns.Have you tried <!-- w --><a class="postlink" href="http://www.hotscripts.coma">www.hotscripts.coma</a><!-- w --> directory in columns?
if ($dir = @opendir("/tmp")) {
while (($file = readdir($dir)) !== false) {
echo "$file\n";
}
closedir($dir);
}
you may have to make your own seeing how none of them served your purpose.i made one thats in use at scriptsource.tk . its very confusing though, and probably could have been done with half the code.