Oct 7, 2015
0
Level 9
What happens to uploaded files?
I'm just curious to know what happens to the uploaded files behind the scene.
Specially in these scenarios;
- A failed upload.
- Uploaded successfully then you use some lib like intervention to fit(), crop() and store inside site images directory etc.
In these cases what happens to the original file? Do we need to write code to delete them or is it taken care of PHP itself?
Please or to participate in this conversation.