Welcome aboard! We are happy you are here and wish you good net-raft!
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<?php
function GenUnique($length=15) {
$string = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
$len = strlen($string);
$genpass = '';
mt_srand(10000000*(double)microtime());
for ($i = 0; $i < $length; $i++) {
$genpass .= $string[mt_rand(0,$len - 1)];
}
return $genpass;
}
echo GenUnique();
?>
</body>
</html>
The most helpful PHP solutions