Re: [CIRCLE#3890] RE: [PHP] Creating Unique Values

From: Date: Wed, 04 Oct 2000 17:08:33 +0000
Subject: Re: [CIRCLE#3890] RE: [PHP] Creating Unique Values
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-18616@lists.php.net to get a copy of this message
Does PHP just about think of everything or what? :-) uniqid is exactly what I need. PHP never ceases to amaze me, or the people on this list. A pat on the back for all concerned, everywhere! Cheers folks, I'm off to the pub now. Andy M.D. www.databasewatch.com ----- Original Message ----- From: "Remco Chang" <rkc@bountyquest.com> To: <bob55552002@yahoo.com> Cc: "Andy Woolley" <andy@milonic.com>; <php-general@lists.php.net> Sent: Wednesday, October 04, 2000 5:58 PM Subject: [CIRCLE#3890] RE: [PHP] Creating Unique Values > you might want to look into the md5() and uniqid() functions. i think > they should do what you're looking for. > > ---------------- > remco chang > bountyquest.com > > On Wed, 4 Oct 2000, Andrew Hill wrote: > > > Why don't you just use unix time? This is unique at a certain point, and > > will never be repeated. > > > > Best regards, > > Andrew > > ---------------------------------------------------- > > Andrew Hill > > Director Technology Evangelism > > OpenLink Software > > http://www.openlinksw.com > > XML & E-Business Infrastructure Technology Provider > > > > > > > -----Original Message----- > > > From: Andy Woolley [mailto:andy@milonic.com] > > > Sent: Wednesday, October 04, 2000 12:30 PM > > > To: php-general@lists.php.net > > > Subject: [PHP] Creating Unique Values > > > > > > > > > Greetings people, > > > > > > Does any have a script that creates unique values in PHP. > > > > > > What I need is to do is create a value that will never be used again. I > > > think that a combination of date, time, milliseconds and some random chars > > > would be good. > > > > > > If I can't get one pre-done, then I'll build one and post it to > > > you all, it > > > shouldnt be too complicated to do, but I'm in a rush and I'm > > > getting lazy in > > > my old age. > > > > > > Cheers Folks. > > > > > > Andy Woolley > > > M.D. > > > www.databasewatch.com > > > > > > > > > -- > > > PHP General Mailing List (http://www.php.net/) > > > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > > > For additional commands, e-mail: php-general-help@lists.php.net > > > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > > > > > > > > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > > For additional commands, e-mail: php-general-help@lists.php.net > > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > -- > Processed by MaFAT 0.18 > Attachment ( text/plain ) saved. >

« previous php.general (#18616) next »