... and entering a PW thru a form is?
anyhow, try:
my @pw_array = (split('', $_));
print "The length of the PW is $#pw_array\n";
-Sx- ???
On Monday, October 8, 2001, at 12:26 PM, James Kelty wrote:
What is the best, or workable, way to count the elements in a string?
For instance,
if someone enters a desired password through a form, I would like to be
able to make
sure that it is a certain length. I though about using the length()
function, but I am not
sure if that us secure.......
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]