Name of file uploaded
Posted: Mon Jan 31, 2005 7:17 pm
Currently in my system, when i upload picture, i put the username as a picture's name. I mean i copy that picture into a folder and put username as a file(picture's) name. In my opinion, that's not the best way because i think usually in almost every system, when picture is uploaded, the system will use a string of numbers (eg. 1243283.jpg) as the file(picture's) name. My question is how to generate the number that can be used as a file(picture's) name as in many other system?