Location: PHPKode > projects > NewsP > admin/make_pass.php
<?
function getpass() {
    $newpass = "";
    $laenge=6;
    $string="ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz23456789";
    mt_srand((double)microtime()*1000000);
    for ($i=1; $i <= $laenge; $i++) {
        $newpass .= substr($string, mt_rand(0,strlen($string)-1), 1);
    }
    return $newpass;
}
$k_passwort = getpass();
?>
Return current item: NewsP