# User Authentication

**URL:** https://forum.kirupa.com/t/user-authentication/211122
**Category:** Uncategorized
**Created:** [December 27, 2006, 5:12pm UTC](https://forum.kirupa.com/t/user-authentication/211122 "2006-12-27T17:12:26Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![coop](https://avatars.discourse-cdn.com/v4/letter/c/87869e/32.png) [@coop](https://forum.kirupa.com/u/coop)
#### Post date: [December 27, 2006, 5:12pm UTC](https://forum.kirupa.com/t/user-authentication/211122/1 "2006-12-27T17:12:26Z")

</div>

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.
