PHP Random Password Generator

Its very easy to make a random password generator in PHP.

$password = substr(md5(time()), 0, rand(4,8));

I got above code from Binyva’s Blog

Four functions used here substr() md5() time() and rand()

If you wanna know about this functions please refer w3schools

Did you enjoy this article?
Signup today and receive free updates straight in your inbox. We will never share or sell your email address.

Leave a Reply