View file xmyx.ru/sys/fnc/passgen.php

File size: 259B
<?
function passgen($count = 8, $types = 3) 
{
	$password = array_merge(range('a', 'z'), range('A', 'Z'), range('0', '9'));
	shuffle($password);
	$password = substr(implode('', $password), 0, $count);
	return $password;
}

$passgen = passgen();
?>