Random Password Generator in PHP Source Code

2016-07-04T21:36:25+08:00

When you want a Random Password Generator in PHP Source Code you might think that for example uniquid() is an excellent fit. It’s not though as it will only come back hex figures. The Random Password Generator in PHP Source Code concept is to mix, A-Z, a-z and 1-9. I’m making zero out of it to prevent misunderstandings between it and O. As you can see array_rand will come back a unique key from the range that you then can use to get at the value. First we choose a key for a unique variety (A-Z, a-z or 1-9) in $rkey. Then [...]