Hi, I am trying to check the length of the password entered by the user using strlen($password). It works fine when say I enter a password as 'abc123' but if I entered '123abc' it somehow doesn't work fine. Am I missing something here? Should the $password or the variable for the function strlen() cannot start with a number??
Strings can be all digits. Do you have a sample of the code that doesn't work? I've tested this and can't recreate the problem. Here's my test script:
http://demo.fenelon.us/testCode/strlen_test.php?test3=43434
Change the value for test3 to try different strings.
Sheila
____ • 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.