Hi, I have no experience with MD5, but one of my clients has a php script that uses it. It worked on his last server.
Is MD5 normally pre-installed on plesk 5 redhat 7.3 servers?
If not, how do I install it?
in case this helps, here's the source..
if ($process == "logindone")
{
$usersstats = mysql_fetch_array(mysql_query("SELECT * FROM geo_users WHERE username = '$username'"));
$pass = MD5($pass);
$cl = mysql_query("SELECT * FROM geo_users WHERE username = '$username' AND password = '$pass'");
IF($userstats[stats] == "0"){
echo "Sorry but your account has been frozen";
die();
}else
if(mysql_num_rows($cl) == 0){
die("Incorrect password or no such user");
include("footer.php");
die();
}
$cl2 = mysql_fetch_array($cl);
$_SESSION['username'] = $username;
$_SESSION['pass'] = $pass;
echo "
you have been logged in $username";
include("footer.php");
die();
}