Afficher un message
Vieux 26/02/2008, 20h57   #2
Jeremy
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Generating GUID tags with php

Gary Hasler wrote:
> Does anyone have any suggestions on generating GUID (Globally Unique
> Identifier) tags with php?
> They would need to be in the format
> 4402bd8a-cd51-40ea-99d7-b510e89e344b
>
> Specifically this is for adding accessibility for the PicLens browser
> add-on (which uses an .rss file) to some of our photo gallery pages. It
> seems to require each thumbnail have an identical GUID tag in both the
> html and the rss file.


If a UUID is acceptable for you (GUID usually means Microsoft's
implementation of UUID; pretty much the same thing, just a 128-bit
unique identifier) then check out this PECL module:

http://pecl.php.net/package/uuid

Jeremy
  Réponse avec citation
 
Page generated in 0,05754 seconds with 9 queries