On my website I use contact form 7 with file upload. The contact form sends one email to notify me of a file upload. The second email is send to an email@example.com email adress, so the file upload is sent to my dropbox.
Here is the problem:
If user 1 sends an image/video file it’s in my dropbox, great.
If user 2 sends an image/video file with the same filename, it overwrites the file of user 1.
Is it possible to change the filename if it already exists? So if user 1 upload image.jpg, and user 2 does the same, it will be something like image-1.jpg?
Thanks in advance
- The topic ‘File upload name’ is closed to new replies.