Pathologically Eclectic Rubbish Lister | |
PerlMonks |
input compareby anniyan (Monk) |
on Jul 11, 2005 at 06:54 UTC ( [id://473849]=perlquestion: print w/replies, xml ) | Need Help?? |
anniyan has asked for the wisdom of the Perl Monks concerning the following question: Monks, i have some problem in the following program. I have databse named login and table test. I have two columns namely user and passwd(encrypted password using PASSWORD()). What i want is to compare the password given by the user with the database. When i get the user name and password from the user through the form, i am not able to match the password using PASSWORD() function with the password in the database. This is the coding i tried. I am not able to fetch the data from the database if i used PASSWORD(), but if i removed the function, it is working properly. The same coding is working in another system with PASSWORD(), am i missing something?
Regards,
Back to
Seekers of Perl Wisdom
|
|