I need a way for prevent the upload of files with identical names, since all uploaded files are written to the same folder on the server.
Is it possible to prepend a Unix timestamp to each filename automatically, and to then record the amended filename as part of the path in the database?