Password Authentication

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
phpnew
Forum Newbie
Posts: 18
Joined: Tue Oct 12, 2004 7:40 am

Password Authentication

Post by phpnew »

Hello all

I am developing a site and am having problem with the admin side when I am changing a users password from the php page it is being stored in the below format.

Password stored password in MySql
propsol 2a2105e550651151

when inserted directly is stored properly.

How Do I get round this issue.

Please help
Thank You
User avatar
m3mn0n
PHP Evangelist
Posts: 3548
Joined: Tue Aug 13, 2002 3:35 pm
Location: Calgary, Canada

Post by m3mn0n »

Do you want passwords to be stored in md5 format or normal format?
phpnew
Forum Newbie
Posts: 18
Joined: Tue Oct 12, 2004 7:40 am

Post by phpnew »

thanks Sami
I need to store in normal format as the same user needs to login again.

Please help thank you
ynoc
Forum Newbie
Posts: 3
Joined: Sat Oct 23, 2004 5:56 am

Post by ynoc »

tell me more about how you would save the userpasswords in your db. is there a user-table where all users and their passwords are stored?
Post Reply