Re: [PHP] Unique Numbers

2002-02-18 Thread Steven Walker
Thanks for the input. I just replaced time() with uniqid(""), and I think that will work great. Steven J. Walker Walker Effects www.walkereffects.com [EMAIL PROTECTED] On Monday, February 18, 2002, at 01:38 PM, Lars Torben Wilson wrote: > On Mon, 2002-02-18 at 13:14, Steven Walker wrote: >> I

Re: [PHP] Unique Numbers

2002-02-18 Thread Lars Torben Wilson
On Mon, 2002-02-18 at 13:14, Steven Walker wrote: > Is it safe to use time() to generate a unique id number? > > My thinking is that the call to the server will take enough time that no > two users will get the same time stamp (although they may be very > close). Even though the likelyhood of

[PHP] Unique Numbers

2002-02-18 Thread Steven Walker
Is it safe to use time() to generate a unique id number? My thinking is that the call to the server will take enough time that no two users will get the same time stamp (although they may be very close). Even though the likelyhood of two users entering at the same time is very slim, I don't