What's the good way for file naming?
Posted: Tue Oct 16, 2007 5:12 am
I want the script to auto generate a file name for the file just created, don't want the user to input the file name.
What is the best way to create the file name? I'm currently using today's date and time as the name of the file. But, when there's too many files created at the same time, I will get only one file name for several different content of files.
How do I generate the file name like the photobucket.com, or megaupload.com those sites? What are they using acftually? Random string? Any good article for this kind of techniques?
I hope you guys understand what I'm talking about.
What is the best way to create the file name? I'm currently using today's date and time as the name of the file. But, when there's too many files created at the same time, I will get only one file name for several different content of files.
How do I generate the file name like the photobucket.com, or megaupload.com those sites? What are they using acftually? Random string? Any good article for this kind of techniques?
I hope you guys understand what I'm talking about.