Originally posted by Weedpacket
That's mildly concerning; is it a difference in representation (a string of thirty-two hex digits vs. four 32-bit ints, say)? (If I had MySQL here I'd find out for myself.)
never had the gumption to look into it myself just know that if you do something like this
<?php
$sql = "INSERT INTO users (username,password) VALUES ('$username',md5('$password'))";
mysql_query($sql);
//in another script or another part of this script.
$password = md5($password);
$sql = "SELECT * FROM users WHERE username = '$username' AND password = '$password'";
?>
it will never return any results.