FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

pass produce and 10 crackter

 


bykezzap
<?php
function sayiuret($sayi = 10)
{
global $f;
$dizim = "azwsedcrfvtgbxyhnujmIkolp"."AZWSEDCRFVTGBXYHNUJMIKOLP"."1234567890";
$boyut = strlen($dizim);
srand((double)microtime()*1000);
for($i = 0; $i <$sayi; $i++)
{
$f .= $dizim[rand(0, $boyut)];
}
return $f;
}

$sifrem= sayiuret(10);
echo ($sifrem);
?>



random is produced 10 cracters
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.