Random PHP Password Generator
Monday, February 20, 2012 11:05 PM
A project I was working on the other day needed an automatically generated password. I had an old script that spat out a really basic alphanumeric 6-character password, but I wanted something a bit stronger and more versatile. I thought I’d share. This code will give you a default of 8 characters, alphanumeric plus special characters, with flexibility for whatever length you want. The implementation is nothing fancy.
[...read more...]