$password = '';
$chars = '123456789abcdefghjkmnpqrstuvwxyz';
for($i = 0; $i < 8; $i ++) {
$password .= substr ( $chars, mt_rand ( 0, strlen ( $chars ) - 1 ), 1 );
}
$password = '';
$chars = '123456789abcdefghjkmnpqrstuvwxyz';
for($i = 0; $i < 8; $i ++) {
$password .= substr ( $chars, mt_rand ( 0, strlen ( $chars ) - 1 ), 1 );
}