Insert the password into the db using md5
how would i insert the password into the db using md5?
portal, you convert it to md5 hash then insert into db :-
upon initial registration
ah
www.php.net/md5
yeah i was reading that
didnt fully understand it
so just do md5('pass');
then insert it into the db like that
i did
then when you compar you hash the guessed password and compare it vs the db's hash
it showed md5(
) in the db
:D
EvilDana: thanks for the cold water! im very hot
then i'd have to say ou didn't execut the function right
$hash = md5($pass);
then insert $hash
and eltaco, why wouldn't that work?
portal, "insert into table (user,pass)values('".$user."','".md5($pass)."')";
yea or that ![]()
yea el_taco, that just returned md5(########) in the db
hehe
you probably did ' not "
what datatype is your password field
oo
its varchar, no shit
what length?
32
attribute, put it in a textarea
but how
DoC____,