I’m currenly developing some PHP to manage a user DB; login, register etc.
My problem is this: I need to encrypt the contents of a FORM input field (The password) before the form is sent. I want to use md5(). How can I do this? This is my code:
[code]echo(”
<form method=’POST’ action=’/index.php?pg=login’ name=’login_form’><p>
Username: <input type=’text’ name=’name’><br />
Pass: <input type=’password’ name=’pass’><br />
Remember Me: <input type=’checkbox’ name=’remember’><br />
<input type=’hidden’ name=’do_login’ value=’1′>
<input type=’submit’ name=’submit’ value=’Punch It!’>
</p></form>
“;
Thanks & Regards, Jonnie