RE: GUID or any other unique IDs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Jasper,

> $unique_id = sha1( uniqid( mt_rand(), true ) );
> 
> which should be very unique and suitable for most purposes.

I really need millions of unique IDs - hashing is not suitable for this task
(I think so) :-(. Any more ideas?

Is there a PHP extension or an external library for generating GUIDs?

Have a great day,

Denis S Gerasimov 
Web Developer
Team Force LLC

Web:   www.team-force.org
RU & Int'l:   +7 8362-468693
email:    denis.gerasimov@xxxxxxxxxxxxxx

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux