I have a PHP script (single page) form that pulls all images from a folder on the server and deletes them if I checkmark the box to delete them.
The folder, for example, contains [login to view URL], [login to view URL] and so on. It also contains [login to view URL], [login to view URL] and so on.
I want to to be able to also delete the corresponding [login to view URL] file if the image is deleted.
So page loads, I select to delete [login to view URL] and image3.jpg. When I press the delete button it should then delete [login to view URL], [login to view URL], [login to view URL] and video3.mp4..... currently, it just deletes the images.
The php script is already built, I just need to add this feature to delete the corresponding videos.
I have included the php form script I use for this project, please review prior to bid to make sure your bid is accurate.
11 freelancers are bidding on average $22 for this job