User Authentication

User Authentication

Hi all,

Still new to php so I’ll try and explain my problem.
I’m trying to produce a User authentication page so a user can log in with a user name and password. I’ve worked out setting up the database and adding new users to the database. So now people can log into pages using there user_id and password which is checked on the MySQL database.
The problem comes when a user forgets there password and I wanted to send it to the email that they used in the registration. I’m using md5(), so the database contains a 32-character hash, it is possible to transfer this back to plain text.

Any help would be greatly apperciated. I’m usin fFlash for the front end but any help or tutorials would be fine.

c.