| | |
Forget Password in PHP
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Sep 2009
Posts: 527
Reputation:
Solved Threads: 61
0
#2 25 Days Ago
If you forgot the password, there might be some link with the same title, click on it, maybe you will get the mail with your password or else they will ask you to reset the password.
"The discipline of writing something down is the first step towards making it happen."
follow me on twitter
follow me on twitter
0
#3 25 Days Ago
I think he is asking for instructions to create a forgot password link for his own website...
knrakesh if u can be more specific with ur problem, we can help you better
knrakesh if u can be more specific with ur problem, we can help you better
Gimme reputation points if u find my post helpful.
use [code] tags wherever applicable
dont start a new thread unless u cant find the topic already on forum.
mark a thread "solved" as soon as u get a solution
use [code] tags wherever applicable
dont start a new thread unless u cant find the topic already on forum.
mark a thread "solved" as soon as u get a solution
•
•
Join Date: Oct 2009
Posts: 50
Reputation:
Solved Threads: 6
1
#4 25 Days Ago
Well for starters you need have SMTP on your server, i trust you do.
Anyways when a user asks to have there password sent to them you either just get the password from the database and send it or generate a new one and change the database.
Here is some general info
//K0ns3rv
Anyways when a user asks to have there password sent to them you either just get the password from the database and send it or generate a new one and change the database.
Here is some general info
//K0ns3rv
Last edited by K0ns3rv; 25 Days Ago at 5:24 am.
0
#5 23 Days Ago
I suggest create a link with random number and user id and send it via user's email. All user need to do is just type in email and link with those details will be sent via that password (which must match database's email).
After clicking a link, then user will reset the password and either he will be taken to a form to change a password or the one-time-login password will be sent to a user (randomly generated) After login with one time login, force them to change that password
Hope it helps
After clicking a link, then user will reset the password and either he will be taken to a form to change a password or the one-time-login password will be sent to a user (randomly generated) After login with one time login, force them to change that password
Hope it helps
Atheist: God is man made imagination, he doesn't exist!
Theist: It's okay, can you imagine anything else that doesn't exist?
Junior MD --- Python, C++ and PHP
Theist: It's okay, can you imagine anything else that doesn't exist?
Junior MD --- Python, C++ and PHP
![]() |
Similar Threads
- PHP Login (Ask for random password digits) (PHP)
- Create a Password Reset Disk (Windows tips 'n' tweaks)
- forget password (PHP)
- forget my password (Windows NT / 2000 / XP)
- how to retrieve lost password (Windows NT / 2000 / XP)
- new to php, need help adding a forum (PHP)
- php mysql help (PHP)
Other Threads in the PHP Forum
| Thread Tools | Search this Thread |
apache api array beginner binary body broken cakephp checkbox class cms code cron curl database date date/time delete display dynamic echo email error file files filter folder form forms function functions gc_maxlifetime global google host href htaccess html image include insert ip javascript joomla limit link list login mail memmory memory menu mlm msqli_multi_query multiple mycodeisbad mysql navigation oop parameter parsing paypal pdf php problem query radio random recourse recursion regex remote script search seo server sessions sms snippet source space sql static syntax system table thesishelp trouble tutorial update upload url validator variable video web webdesign wordpress xml youtube






