Password Demo
/* simple minded insecure password generator
--drt@un.bewaff.net
*/
$pwdlen = 32;
$source="abcdefghijklmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ-.~^#%&:+*=1234567890)(][/";
$len = strlen($source);
$pt = posix_times();
srand ((double) microtime() * 1000000 + $pt["utime"] + posix_getpid() + $pt["ticks"] + $pr["cstime"] + $pr["cutime"] + rand());
for($i = 0 ; $i < 32; $i++)
$pass .=$source[rand() % $len];
print $pass;
?>
see pass.phps
Doobee R. Tzeck
Last modified: Sun Nov 5 12:57:14 CET 2000