I am willing to show the files' list of a web directory on a web page.
But I am not understanding about how to do that.
Can any one give me some easy guideline so that I can do it?
Better any raw code (HTML,CSS,PHP,JS) so that I can understand the way to do it.
Depending on your web server, you can enable directory listing. For example, in apache, you can delete your index.html and index.php file and enable directory listing in your .htaccess
file.
If you're using PHP, use `scandir](http://php.net/manual/en/function.scandir.php) to read a list of files in the current directory and print them to the screen.
$files = scandir( "MY_DIRECTORY" );
foreach( $files as $file ){
echo $file . "<br />";
}