|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (5 bit)
Join Date: Nov 2002
Posts: 24
|
Retrieve Password from MYSQL Database?
Hi, I would like to know how I can retrieve a password from mysql
database when a user forgets their password. where they be able to type in their email into a form to submit and it will automatically email them their username and password, can someone please make a php script like that or know where I can find one I would highly appreciate. |
|
|
|
|
|
#2 |
|
Security Dude
Staff
|
How is the information stored in the database? If the password is stored with the crypt() function, it is extemely difficult to retrieve the information. How is everything set up?
__________________
Tyler A. Thompson Small Business Networking Services Specialist tyler@derbydigital.com |
|
|
|
|
|
#3 |
|
Staff
Premium Member
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
|
I wouldn't bother doing it. I would just reset the password, tell them what you reset it to and be done with it. Now if you are using something like Cpanel, they can change it themselves as long as they remember the Cpanel password. Don't really know of a script and I would think that is a bad idea.
__________________
Want to Make $$$$ with your Computer? No Risk! Simply press shift-4 four times in a row |
|
|
|
|
|
#4 |
|
Member (5 bit)
Join Date: Nov 2002
Posts: 24
|
The passwords are not encrypted, they are stored in plain text.
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|