I was wondering how you could have the name of a file changed as it uploads?
For example:
I have a field that uploads a .pdf file to a directory on my server. I would like it so that it would rename the file using a field in my table so the new name would be $ID.pdf essentially.
The reason I ask is because if someone happens to upload a file that is named the same as another, it would overwrite the original .pdf file.
Thanks for taking the time to read my post!