jeudi 26 novembre 2020

How to make a random password generator with at least one capital letter, lowercase letter, special character and number everytime in php

I am trying to do what the title says and this is all that I can figure out how to do in php.

<?php 
    $random = substr(md5(mt_rand()), 0, 8
    echo $random;
?>



Aucun commentaire:

Enregistrer un commentaire