TG wrote:
Is the most important thing to be random or to be unique? If you need
unique, you can use a timestamp including microseconds. Maybe using
something like microtime():
http://us.php.net/manual/en/function.microtime.php
The only other way you're probably going to guarentee that you do
Is the most important thing to be random or to be unique? If you need
unique, you can use a timestamp including microseconds. Maybe using
something like microtime():
http://us.php.net/manual/en/function.microtime.php
The only other way you're probably going to guarentee that you don't repeat