How to make directory listing using PHP ?
Here the answer :


$handle=opendir(’.');
while (false !== ($file = readdir($handle))) {
echo “$file
”;

}
closedir($handle);
?>

Hope this can help...