[FX.php List] Leading zero getting dropped in a login

Jon Montgomery igsmasupport at igsmasouth.org
Tue Jan 29 06:35:02 MST 2008


Ggt,
    it was a javascript validation set wrong that was dropping the zero.
And I was ultimately the only one it was effecting. Or at least the only one
that bothered to tell me.

Thanks!

Jon Montgomery


On 1/29/08 1:04 AM, "Gjermund Gusland Thorsen" <ggt667 at gmail.com> wrote:

> Usernames should be saved as text, and password as type text, but with
> encoding unicode to make them casesensitive.
> 
> 2008/1/29, Gjermund Gusland Thorsen <ggt667 at gmail.com>:
>> zero gets dropped when you read the string as number.
>> 
>> 2008/1/28, Jon Montgomery <igsmasupport at igsmasouth.org>:
>>> I have a login page where the user enters an id number.  Some of those id
>>> numbers have leading zeros  such as 0427.  All of a sudden, when clicking
>>> the login button the zero is dropped.  It has worked because several users
>>> have entered information but now it is dropping the leading zero.
>>> 
>>> What can I do to fix this?
>>> 
>>> Jon Montgmery
>>> 
>>> 
>>> _______________________________________________
>>> FX.php_List mailing list
>>> FX.php_List at mail.iviking.org
>>> http://www.iviking.org/mailman/listinfo/fx.php_list
>>> 
>> 
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
> 




More information about the FX.php_List mailing list