Hi,
I'm using the editor with image\flash\media manager. Works great, but I dont know how to accomplish the following:
When a user uploads a file, I want to assign the uploaded file a unique name (like a guid) . This to prevent overwriting existsing files. (user WILL check "overwrite if file exists", without caring about others useing that file.)
eg. someone uploads logo.gif, I want it to be saved as 1234567890_logo.gif
any ideas? Other methodes that lead to the same result in overwite protection are also welcome.
Thx.
I'm using the editor with image\flash\media manager. Works great, but I dont know how to accomplish the following:
When a user uploads a file, I want to assign the uploaded file a unique name (like a guid) . This to prevent overwriting existsing files. (user WILL check "overwrite if file exists", without caring about others useing that file.)
eg. someone uploads logo.gif, I want it to be saved as 1234567890_logo.gif
any ideas? Other methodes that lead to the same result in overwite protection are also welcome.
Thx.
