
Originally Posted by
DoubleDee
*Debbie needs Food and Sleep*
I went to all of this trouble to make sure the File Some-User uploaded is a valid image, and it is. So the last thing I need to do is come up with a Unique Name for Some-User's Image.
I thought you were saying to SHA1 something (??) and get a random Filename, right?
And I said, "What happens if you have a collisions between two hashed whatevers and you get 12345 and I get 12345?!"
I can't have two separate User Pictures called "12345.jpeg"
So 100,000 Users from now, how do I ensure that NEVER happens??
Follow me?
Debbie
Bookmarks