[TYPO3-english] Unique uid with Typoscript

JoH asenau info at cybercraft.de
Tue Dec 15 20:08:07 CET 2009


> How can i load a register with a unique id? i need a different number
> every time that i load the register
>
> Are there any kind of rand() in stdwrap?

What about a timestamp?

blah = LOAD_REGISTER
blah.myRegister.data = date:U

If this is not enough you might want to try getting a microtime value.

HTH

Joey

--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com




More information about the TYPO3-english mailing list