tags:

views:

244

answers:

1

Are there PHP libraries to generate sequential GUIDs for usage in a MySQL database?

+2  A: 

If you mean uuids based on a common prefix, such as MAC and time, have a look at uniqid. Here you can also find some code for RFC 4211 compliant UUIDS. If you want to be on the safe side, use this wrapper to libuuid: pecl uuid. Haven't tested it though, YMMV.

disown