Hi.
Using this function:
<?php
function CreatePasswords($length=8) {
$sets = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
$sets .= "abcdefghijklmnopqrstuvwxyz";
$sets .= "1234567890";
for($index = 0; $index < $length; $index++)
{
$sid .= substr($sets,(rand()%(strlen($sets))), 1);
}
return($sid);
}
?>
How would you go about modifying this so that it creates a password where vowels and consonants (sp?) alternate?