i am using a web bases rich text editor on my site to allow users to edit and format text.
When we add a picture, the text editor uploads the image file to the images directory on server and displays back through a URL from server.
But some people may delete a uploaded image and upload another few.
But that deleted image from rich text editor, is still on server.
Then pver time the server will fill with unwanted files. How can i can remove such like files?
Im working with php, on this task. give me some hints.