randomstring php
//generates 13 character random unique alphanumeric id
echo uniqid();
//output - 5e6d873a4f597
randomstring php
//generates 13 character random unique alphanumeric id
echo uniqid();
//output - 5e6d873a4f597
php random string
function rand_str() {
$characters = '0123456789-=+{}[]:;@#~.?/>,<|\!"£$%^&*()abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';
$randomstr = '';
for ($i = 0; $i < random_int(50, 100); $i++) {
$randomstr .= $characters[rand(0, strlen($characters) - 1)];
}
return $randomstr;
}
randstring php
<?php
$random = substr(md5(mt_rand()), 0, 7);
echo $random;
?>
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us