[TYPO3-english] Unique uid with Typoscript
Fernando Arconada
falcifer2001 at yahoo.es
Tue Dec 15 20:48:54 CET 2009
No, timestamp isn't suitable cause it returns time in seconds, may be
with with microtime()
I want to get different numbers in a page so timespamp doesn't work cause
a page renders in less than a second
Thanks
El Tue, 15 Dec 2009 20:08:07 +0100, JoH asenau escribió:
>> 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