On Wed, 19 Mar 2003, Michael Egan wrote: |I put together the following function to give me a password consisting |of random letters and numbers. It should be fairly clear as to how |you'd need to tweak it to just give you the characters you'd need |interspersed with spaces. | |Hope this helps - I also hope anybody else is fairly gentle with their |criticisms and pointers to whatever is wrong with the script - this is |the first time I've ventured to include something like this in a |response to an email on the list :-( | | | function get_password() | { | // Create the password variable as an array | $temp_password = array(); | // Create an array of the letters of the alphabet
Michael- Very cool, and works like a charm! And, I think I may even just use it for a password script as well, if you don't mind :) I appreciate the extremely helpful and quick response! Bryan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php