in reply to RE: RE: Randomizing Unique ID?
in thread Randomizing Unique ID?
Not forgeting to call srand() at some point.my $ID = $ToBase62->( $$ ) . $ToBase62->( rand( $$ ) ) . $ToBase62->( +time );
Update: Don't bother seeding. Tye explains the internal seed here. Also, see the Base Conversion Utility.
|
|---|