Question : convert to lowercase

I have a html form containing many fields including  'username'. Sometimes users enter their username in upperase or mixcase. But I want when a user submit the form I recieve their username always in lowercase, it should be done at the server side, no JavaScript.
I think Perl's built in function 'lc' will be used for this purpose.
Please tell me with the example.

Answer : convert to lowercase

Once you get your form data, just use:

$fieldname = lc($fieldname);


dill
Random Solutions  
 
programming4us programming4us