Hi. I'm using rand() or mt_rand() to give a temporary file i upload a random name so that i can work with it.
However the file always gets the same name, resulting in overwriting a previous uploaded file.
These 2 functions aren't supposed to return a random value?
rand() returns 2
mt_rand() returns 1755202938
Why am i getting the same number all the time?
Thanks
John