Gargron / fileupload

PHP FileUpload library that supports chunked uploads
MIT License
460 stars 87 forks source link

Add file deletion and example to do that #9

Closed seyfer closed 10 years ago

seyfer commented 10 years ago

please

Gargron commented 10 years ago

I'm not sure what you mean. File deletion in PHP is done through the unlink($path) function, what else do you need? How does file upload have anything to do with file deletions?

seyfer commented 10 years ago

I mean some handler or processor for file deletion in library.

If it's only one function, it's not difficult write it. But it's should. Library without that function is not complete.

kamov commented 10 years ago

yes, I agree, is missing delete and also list all photo

so your lib can work with jquery file upload demos without any change.

right now only upload work, not delete or list current pic

Gargron commented 10 years ago

Both listing and deleting have nothing to do with file uploads, so they are out of scope of this library. You will have that functionality in your own routes, and the way you keep track of uploaded files can vary a lot.