Forgot Password Recovery in Login System with PHP and MySQL | VPS and VPN

26 thoughts on “Forgot Password Recovery in Login System with PHP and MySQL

  1. Dear CodexWorld i followed your code but i am getting error this "Some problem occurred, please try again." i need your help please reply me.

  2. He is Brad Pitt undercover. Anyway ty for your effort on making this tutorial. Keep up the good work that youre doing 🙂

  3. Forgot Password Recovery in Login System with PHP and MySQL i got this error any help ? tnx and advance

  4. He worked in localhost. Observed one thing , he is login with john smith but in gmail he got mail with another name. So, When we are working in localhost we can't send any email. If it is in live, we can send email.

  5. The code gives following error…. please give me solution for this
    <?php
    if(isset($_POST['forgotSubmit'])){
    //check whether email is empty
    if(!empty($_POST['email'])){
    //check whether user exists in the database
    $prevCon['where'] = array('email'=>$_POST['email']);
    $prevCon['return_type'] = 'count';
    $prevUser = $user->getRows($prevCon);

    error:

    Notice: Undefined variable: user in C:xampphtdocsemail_testuserAccount.php on line 8

    Fatal error: Call to a member function getRows() on null in C:xampphtdocsemail_testuserAccount.php on line 8

Leave a Reply

Your email address will not be published. Required fields are marked *