| Resident Linux Geek Name: Michael Walker Location: East Yorkshire, England Join Date: Aug 2005
Posts: 2,408
NP$: 300.25 ( Donate)
| Both good, but heres a function I made a while ago and have been using, it may not be as customizable, but the passwords are very difficult to guess: PHP Code: <?php
function prand($len = 10){
$pass = '';
for($i = 0; $i < $len; $i ++){
$pass .= chr(rand(33, 126));
}
return $pass;
}
echo prand();
?> |