I have created a plugin that displays all the image files in my ‘Uploads’ directory. url: http://eastcoasttechwriter.ca/?page_id=1687
The user can place a checkmark to the far right of any image they wish to delete. This works fine.
When the user clicks the ‘Delete Selected Files’ button, it reads my script
delete.php which isn’t working right. I am not able to open the ‘Uploads’
directory in my code and delete any files. I can’t figure out what I have done wrong.