function mgdx_create_guid() {
return(md5 (uniqid (rand())));
}

Seems to return sufficiently unique id's.

Dick

----- Original Message ----- 
From: "Andrey Subbotin" <[EMAIL PROTECTED]>
To: "All" <[EMAIL PROTECTED]>
Sent: Thursday, December 05, 2002 12:18 PM
Subject: [midgard-user] Generating Repligard GUID in PHP


> Hello All,
> 
> Have enyone ever created a PHP function to generate a Repligard GUID
> for a given table and object's id? Would s/he be so kind to share it?
> 
> -- 
> See you,
> Andrey.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to