Home > Uncategorized > md5 hash function

md5 hash function

December 15th, 2009 admin Leave a comment Go to comments

login problem?

Hi all..

Recently i downloaded an MD5 script. I am trying to use MD5 to encrypt the password in the login form page. I get a hashed string.That algorithm works perfect. The problem is, how do i send the hashed string back to the login_chk.php ?

any help would be really appreciated..
thanks..

Move the onSubmit attribute to the

element. Then set the value of the password field to the calculated MD5 string before submitting, like this:

action="http://localhost/php/proj/login_chk.php"
name="frm"
onSubmit="return call_md5();">

That would prevent the plain text password from being sent in the HTTP POST. Otherwise, create a hidden input field, and change the line to set the value of the hidden field.

md5とかsha1ってナニ?

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay

Categories: Uncategorized Tags:
  1. No comments yet.
  1. No trackbacks yet.

Comment moderation is enabled. Your comment may take some time to appear.