ma oumlRank #3,005 · 479 reputationPosted Aug 24, 2017, 1:28 AM EDT
0
Kesavan Krishnan
thank you very much
Sorry i will bother you i want to do that when the user signs up I send him a confirmation email as well as when he forgets the password
How do I please I tested several tuto but it does not work and thank you in advance
0
Kesavan KrishnanRank #3,055 · 471 reputationPosted Aug 24, 2017, 2:31 AM EDT
0
Hello,
After your signup send link with some encripted key and need the following steps.
Step 1. Need to generate secret key with some datetime (Date time which means 2 days)
step 2. Have to add 2 field . one for confirmation another one for forgot password "user".
step 3. After click on the url , have to decrypt it and check the date validation and confirmation field in DB. If that field already confirmed or date expired throw the error.
While signup and forgot password have to store that secret key into db and validate while confirm and forgot password.
Once confirmed remove the key and update the needed fieds like "confirmed" as 0 => 1 , forgot pass "forgot pass" 1 => 0.
Kesavan KrishnanRank #3,055 · 471 reputationPosted Aug 23, 2017, 9:16 PM EDT
Kesavan KrishnanRank #3,055 · 471 reputationPosted Aug 23, 2017, 2:05 AM EDT
ma oumlRank #3,005 · 479 reputationPosted Aug 23, 2017, 2:12 AM EDT
Kesavan Krishnan
".$_POST['message']."
";Kesavan KrishnanRank #3,055 · 471 reputationPosted Aug 23, 2017, 4:25 AM EDT
ma oumlRank #3,005 · 479 reputationPosted Aug 23, 2017, 4:32 AM EDT
Kesavan Krishnan
Kesavan KrishnanRank #3,055 · 471 reputationPosted Aug 23, 2017, 4:39 AM EDT
ma oumlRank #3,005 · 479 reputationPosted Aug 23, 2017, 5:23 AM EDT
ma oumlRank #3,005 · 479 reputationPosted Aug 23, 2017, 5:27 AM EDT
ma oumlRank #3,005 · 479 reputationPosted Aug 24, 2017, 1:28 AM EDT
Kesavan Krishnan
Kesavan KrishnanRank #3,055 · 471 reputationPosted Aug 24, 2017, 2:31 AM EDT
ma oumlRank #3,005 · 479 reputationPosted Aug 24, 2017, 2:39 AM EDT
Kesavan Krishnan
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts