Alright I have a script that currently adds a member and their password to the database. The problem or what I want to do is have the password md5'd so that it is more secure. Is there anyway to md5 the password before the original password is added? Also if that isn't possible what is another method of md5ing the password in some simple steps?
$useredit = $_POST['username']; $password = md5($_POST['pass1']); $passinquery = "Password='$password',"; $update = mysql_query("UPDATE user SET $passinquery WHERE Username='$useredit'") or die(mysql_error());
try that
With a little modification it worked great thanks a ton.