----- Original Message ----- From: "Anitha Paruchuri" > what suprises me is that all the while it did not > give any problem until i tried entering a > password starting with numbers.
Well, look at it this way. By comparing $password with a number you are forcing it to evaluate to a numeric value. The numeric value of "123abc" is 123, which is greater than 16 so gives you an error. "abc123" evaluates to 0, which is less than 16, so no error. To prove this to yourself try: print "Numeric value of $password is " . 1 * $password . "<br>"; Bj ____ • The WDVL Discussion List from WDVL.COM • ____ To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: "set WDVLTALK pw=yourpassword" in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub ________________ http://www.wdvl.com _______________________ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.