Hello Guys

I am working on a website

I am not getting the forget password

can u please help me in solving problem please


Thanks in advance

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.

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

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.

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

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 :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.