Menu
I’m working on a little project, and in order to store users images related to an article, I decided to create a folder on the sever with the path “uploads/images” and then, inside this images folder, every time a user uploads images tied to a product, a new folder is created inside image with his name and a generated ID number, thus resulting in a path like “uploads/images/jane___doe123456789”. Then I will only have to store the folder path in the database and I wouldn’t have to rename every single image posted by a user. However I wondered if I should be using UUIDs to generate the folder names or another way?