Random Password Generate in PHP
In this tutorial i am create Random Password Generate in php so you can choose secure password create .
<?php
$string = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890~!@#$%^&*()_+{}<>?";
echo substr(str_shuffle($string), 0, 12); //you can add start to end length from the password
//12 is minimum 12 letter password
?>
<?php
$string = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890~!@#$%^&*()_+{}<>?";
echo substr(str_shuffle($string), 0, 12); //you can add start to end length from the password
//12 is minimum 12 letter password
?>
Comments
Post a Comment