Closed MatyCZ closed 7 years ago
Before we can review this:
Additionally, can you point to a bug report on the PHP bug tracker that indicates this behavior? I've used uniqid()
for years, and never seen it generate the same hash within the same second; how many files are we talking about?
@weierophinney can't remember why I was even using windows, but yeah, uniqid()
is not unique on windows (within the same millisecond) :-(
If you upload more files in 1s on Windows, uniqid will be the same.