how do I generate a random number for a token/session id?
[flash width=300 height=108 loop=true][/flash]
[flash width=300 height=108 loop=true][/flash]
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
<?
srand(time());
$random = (rand()%9);
print("random number between 0 and 9 is: $random");
?>
$token = md5(uniqid(rand(), true)); //this creates a unique id based on current microseconds prefixed with a random number and then all converted into md5