You might try writing a Regular Expression for this:-)



-----Original Message-----
From: Michael Kear [mailto:[EMAIL PROTECTED]]
Sent: 08 August 2000 14:54
To: [EMAIL PROTECTED]
Subject: How to check a password is only alpha characters?


Uh oh. I just bit off more than I can chew here I think.

I'm checking a submitted password for validity before updating my user
database. One of the requirements is that the password be made up of only
the characters a-z, A-Z and 0-9.  In other words, no punctuation, dashes,
underscores, spaces etc.

Can someone please tell me what code to use to test variable newpassword1
for this?

Thanks,

Mike Kear
AFP Web Development
Windsor, NSW, Australia.




----------------------------------------------------------------------------
--
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to