I have to create simple HTML table with rows and columns which Display the Folder and files in the different columns of the same rows and want to run it by the CGI using the Browser and Display it in the browser in the HTML format.

Please provide some code or useful Links .. Thanking you with an anticipation in advance.