Tricky File Upload, List and Delete

1438911268000 php StackoverFlow

by Start Bootstrap

I got a  mate named as Luigi who asked a question about uploading the files using php. I can understand that there few mistakes in his code and i helped him to complete it which extends to listing the files inside the sub directory,


And today he needs to delete those files  which looks a good snacks for me. So i gave him a little brief answer which i don’t want to repeat it again here.

Here’s the Question and Answer

Here’s the Eval of the Code Here’s the updated Fiddle (Updated on 14th July 2015)