Location: PHPKode > projects > MythPHP > MythPHPv1.0/www/sifreolustur.php
<?php
function sifrec($uzunluk = 8) {
srand((double)microtime()*1000000);
$UniqID=md5(uniqid(rand()));
$sifre=substr(md5(uniqid(rand())),0,$uzunluk);
return $sifre;
}

echo sifrec(10);
?>
Return current item: MythPHP