Closed prionkor closed 9 years ago
This can't be handled by the library. Instead you should generate unique file names by yourself. On every upload request user sends you a unique identifier for each file. You can combine identifier in the request, user ip, user id and maybe php "uniqid" for uniqueness.
The script currently overwrites if there is an identically named file in the final upload directory. It should be able to rename the file (numbered perhaps like
filename-2.ext
) if it encounters this kinds of situation.