Solved

Forget Password code in php

Posted on 2009-07-08
7
1,102 Views
Last Modified: 2013-12-13
Hi

We are developing a website, and I need to add a button named "Forget password" and once user clicks on that, I need to ask the username  from the user. once he enters the user name then I must send a new password to his mail id. Only registered users can get their new password.
0
Comment
Question by:onanar
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
7 Comments
 
LVL 17

Expert Comment

by:selvol
ID: 24802233
0
 
LVL 17

Expert Comment

by:selvol
ID: 24802242
php "forgot password" button
http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/Q_22859072.html?sfQueryTermInfo=1+button+forgot+password+php 
Might be better.
 
I knew thier were a few. So Ithought I'd point yo towards them
 
Selvol
0
 
LVL 14

Expert Comment

by:shobinsun
ID: 24802256
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 

Author Comment

by:onanar
ID: 24809992
Thanks a  lot guys. I got a clear picture now.
0
 
LVL 17

Expert Comment

by:selvol
ID: 24810044
Thank you for asking. We appreciate it.
 
If you need anything else regarding this question. Please ask.
ANd I will post some code.
 
Selvol
0
 

Author Comment

by:onanar
ID: 24810418
Hi

Here is my deal. I am  going to add a new button in my login page called"forget password". once user click on this then it will go to "forgetpass.php", there i will ask user-id for the user,once user click the submit button then it goes to other php for the result.

The problem is, I am not able to go to any page from login with out submit.

http://localhost/starfish/login.php

I think they have set it as default page.

if i try

http://localhost/starfish/user.php

then also it is going to  http://localhost/starfish/login.php

i am using apache server for php and mysql database

please suggest me.
0
 
LVL 17

Accepted Solution

by:
selvol earned 500 total points
ID: 24810917
Apologies for once again posting links for you.  
I don't do that very much, But in the question you asked ,
YOu;
""$$Forget password" and once user clicks on that, I need to ask the username  from the user. once he enters the user name then I must $$#send a new password to his mail id. $1Only registered users can get their new password. "
This Software;
"$$Forgot Password PHP Script on asking the Username from user $$#sends the password to the users email account on checking if the username exists or not and if the email address exists or not for that username. $1 Also it is checked if the account is active or not."
http://webscripts.softpedia.com/scriptDownload/Forgot-Password-Download-42055.html
http://download2us.softpedia.com/dl/4640169d23bd533d1bd13e8ef7810a8d/4a557cac/600042055/webscripts/php/kbforgotpassword.rar
0

Featured Post

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question