I am trying to generate a random password in php.
However I am getting all 'a's and the return type is of type array and I would like it to be a string. Any ideas on how to correct the …
I want to generate identifier for forgot password . I read i can do it by using timestamp with mt_rand(), but some people are saying that time stamp might not be unique every time. So i am bit of confused …
I want to generate a 6 digit random number using the PHP mt_rand() function.
I know the PHP mt_rand() function only takes 2 parameters: a minimum and a maximum value.
How can I do that?