Delete all the files from a upload folder or some directory, where the file path are not in database.
sometimes misconfiguration or upload error happens
either file uploaded to server but not updated in db or vice versa.
this script deletes the files from a folder that are not in the database.
Happy coding