Hello, I'm curious to know, but how do sites like TinyPic.com and YouTube rename the files that are uploaded to random characters?
Using scripts in the background to generate unique and random names - it could be a perl script or PHP or asp / jsp .. anything that allows you to manipulate anything on server side ... Cheers
OK, TinyPic is using PHP . so in google search for a. PHP + File Upload simillarly for other scripts .. it should be SCRIPT File Upload. Q. What do you really wish to achieve?
I am a PHP coder myself and I was just wondering how it's done. It might be something that could come in handy one day.
Check File Upload options .. generally you save files with a tmp name - and all scripts allow rand / random functions... Cheers
It is a very simple process, you need to learn it before you can name yourself as a php developer. Check move_uploaded_file() for uploading files, rand() for randomization.