http://qs321.pair.com?node_id=1223044


in reply to Re^3: with CGI, How to have multiple usernames and passwords from a txt file (password.txt) file
in thread with CGI, How to have multiple usernames and passwords from a txt file (password.txt) file

Hi Marto

Thanks for coming back. you have helped me many times.

> Grandfather explains that you have to do the same process with the user supplied password as you did you generate the password, compare the resulting value against the one you have stored."

what's this same process? It's Still a nightmare to me.

This is the code

print Digest::MD5::md5_hex("username" . "SamplePassword");
how to write the other way? I think this is NOT the way.
print Digest::MD5::md5_hex("username" . "c0075ad4e26ec3dee225ccb6387b0 +b77") ."\n";

hope to hear from all