Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 10-12-2005, 04:24 AM   #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.
salchipapi is offline   Reply With Quote
Old 10-12-2005, 06:23 AM   #2
Security Dude
Staff
 
kstatefan40's Avatar
 
Join Date: Jun 2003
Location: Derby, Kansas
Posts: 999
Send a message via AIM to kstatefan40 Send a message via MSN to kstatefan40 Send a message via Yahoo to kstatefan40 Send a message via Skype™ to kstatefan40
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
kstatefan40 is offline   Reply With Quote
Old 10-12-2005, 07:16 AM   #3
Staff
Premium Member
 
mairving's Avatar
 
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
mairving is offline   Reply With Quote
Old 10-12-2005, 09:07 AM   #4
Member (5 bit)
 
Join Date: Nov 2002
Posts: 24
The passwords are not encrypted, they are stored in plain text.
salchipapi is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 04:58 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2