Menu
I have a form where I upload a file. I would like to create a RANDOM name for all the files uploaded that does not repeat….yet only about 10-20 alpha-numeric combination long. Also.. I need to get the .extention off of the file so I know what kind is uploaded to attach to the end of the name. What is the best way to go about this?
basically I have me_and_her.jpg
I upload the file
then want a random_name.jpg to save it to my server.