Dynamically generate html files to display image and video : <p>I am uploading some images and videos to  upload folder and then I display those to my webpage using array. that takes extra load on browser.
so I want when I upload any image/video to upload folder it should create dynamic html or php file to display for each image/video.
Can anyone tell me how to do?</p>
