Answers for "php random string username"

PHP
3

randomstring php

//generates 13 character random unique alphanumeric id
echo uniqid();
//output - 5e6d873a4f597
Posted by: Guest on June-08-2020
0

randstring php

<?php 
    $random = substr(md5(mt_rand()), 0, 7);
    echo $random;
?>
Posted by: Guest on April-21-2020

Browse Popular Code Answers by Language