![]() |
|
|
+ Search |
![]()
|
Jun 30th, 1999 21:08
Nathan Wallace, Jim Winstead
Theoretically uniqid may not generate a unique id on SMP boxes. Realistically though, it will. You could work around this by using the process id (getmypid()) as part of the prefix. Apache's mod_unique_id also uses an algorithm that avoids this problem, so that if that is enabled on your server, you can simply use $UNIQUE_ID.