Re: gettimeofday() question

From: Date: Thu, 15 Feb 2001 02:01:11 +0000
Subject: Re: gettimeofday() question
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-39791@lists.php.net to get a copy of this message
In article <PJEKIAAHHNOGHIGKKJFDEEGHCGAA.james@phpuk.org>, james@phpuk.org ("James Moore") wrote: > I would suggest using somthing like > > srand((double)microtime()*1000000); > $unique_id = md5(rand(0,32000)); > > which is very effective for creating unique id's. Or use uniqid() -- CC

« previous php.general (#39791) next »