I'm writing an app using the CodeIgniter framework, and I'm utilizing the CI File Uploading class to upload image files to the server from a web form.
The files upload fine, but I would like to be able to save them under a different, unique name on the server. I would like to tell the File Upload class to save the files to the server using that different, unique filename for each file, but I haven't been able to figure out how to do so.
I've checked the CI docs for that class, and all I've found is that you can use the class to encrypt the filename, but I don't believe that will give me a unique filename, it just encrypts it.
I already have the functionality in the app that assigns a unique filename, so I just need to figure out how to get the File Uploading class to accept that alternate filename each time I save a file. Anyone know if it's possible to do that?