In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] 
("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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to