![]() |
Number Generation
I am working on something which needs to assign a random number / text to a member on the page (as like a download id)
How can I get a field that will assign a number / text to a members download product? Any information will be helpful E.G. A download id for a member (licence number) ABC123456 which would be kept randomised per member |
Use PHP md5() or sha1() or something to generate a hash (using random string e.g. userid + salt + time) ?
|
How would we do that? Is there any guide anywhere?
|
|
uniqid() can generate a random ID.
|
All times are GMT. The time now is 03:08 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|