I have used md5 for password encrypting..
$pass = md5($_POST[$Password]);
now I inserted this encryped value in the database using the insert statement. Now I want to check this value when a user log in. but when the user was trying to login with this same password, it doesn't allow him and says incorrect password.
Thanks in advance
are you md5ing both posts the one in the db and the post from the login?
is your db field big enough to fit the encrypted password in?
try making a little longer and test again.
most prolly u're not md5ing both values. it has happened many times with me.
as for the other case, varchar(32) works fine for md5 values.
Hey Thanks for the replies. I was not md5ing both the values. Now it works just fine. Also thanks for letting me know what size the data variable.
Thanks once again
Thank you Daniel,
can any one help me writing a script where I have to click a link and it should populate the results in the same page. May be in a text box or on the page itself. I have been trying to find this for the past few days. but couldnt.
That looks great,
Now I have learnt how to populate, but is there any reversal for populate.
in the previous example if I click "here" the array will be populated 7 times. Now if i click someother link the populated text should be erased
Thanks a lot man, thats awesome. I have been wasting a lot of time for this.
Thanks once again.