Using PHPMailer sending OTP Code & Password Reset using PHP

Поділитися
Вставка
  • Опубліковано 27 гру 2024

КОМЕНТАРІ •

  • @ruvitkon
    @ruvitkon 3 роки тому +11

    Thank you very much :), This was really helpful in my final project.

    • @CodeCreativeYT
      @CodeCreativeYT  3 роки тому +2

      woah, i am so happy to hear that 😃

    • @none12356n
      @none12356n 2 роки тому

      Hey can u help me

    • @ruvitkon
      @ruvitkon 2 роки тому

      @@none12356n what kind of a help do you need ?

    • @none12356n
      @none12356n 2 роки тому

      @@ruvitkon text me whatsApp i will tell

  • @ronniebarasi8388
    @ronniebarasi8388 Рік тому +1

    Thank you so much for sharing this video, I am currently coding for a week until I saw yours. Thanks a lot, I am a graduating student and having my thesis😢. Hope you inspire and help others students like me. I love you!❤

  • @ronniebarasi8388
    @ronniebarasi8388 Рік тому

    I have subscribed you now because that's what you deserved.

  • @omnia8856
    @omnia8856 2 роки тому +11

    unfortunately google has made the less secure app acssess setting not available so is there any other way to implement this tutorial ? I am getting invalid email when I try to register and no OTP is sent to my email

  • @JohnWalker-JWC
    @JohnWalker-JWC 3 місяці тому

    Thank you very much bro.🎉🎉🎉🎉
    may be fullfill your desires with best wishes.
    kind regards,
    your follower

  • @azri6210
    @azri6210 3 роки тому +1

    thank you sir !! i will never forget you ✨

  • @AliffianAkbar-y7g
    @AliffianAkbar-y7g Рік тому

    realy nicee! it's WORKS!

  • @muhammadrasyaasysyifa9026
    @muhammadrasyaasysyifa9026 Рік тому +2

    why after registration only appears -> Register Failed, Invalid Email .
    Is there something wrong?

    • @CodeCreativeYT
      @CodeCreativeYT  Рік тому +1

      you have to turn on 2 authentication mode on your google account, which u used in $mail->USername, then get an app password from google account, and use it in $mail->password instead, because the LESS SECURE APP in google account is no longer supported.

    • @muhammadrasyaasysyifa9026
      @muhammadrasyaasysyifa9026 Рік тому

      @@CodeCreativeYT thanksss

  • @programmingwithcpp3698
    @programmingwithcpp3698 3 роки тому +1

    Thank you ! very helpful.

  • @snehasishsaha5473
    @snehasishsaha5473 2 роки тому

    Thanks a lot sir {I am you new subscriber}

  • @daniloalvaro2142
    @daniloalvaro2142 11 місяців тому

    bestt codes for reset pass thank u so much

  • @qwjaja9180
    @qwjaja9180 3 роки тому

    Thanks for this video, really helpful.

  • @Alone-wm1vi
    @Alone-wm1vi 2 роки тому

    super useful, thank you so much!!

  • @indonesiakonten
    @indonesiakonten 8 місяців тому

    Terimaasih, Informasi yang sangat membantu 🙏

  • @narenyadav5600
    @narenyadav5600 3 роки тому +1

    Really helpful video

  • @RusneeHayeedama
    @RusneeHayeedama 4 дні тому

    thank you so much

  • @bluvelvet1ez499
    @bluvelvet1ez499 9 місяців тому

    1 question, what would happen if user just exits the otp validation, and then when he tries to login again?

  • @567qbb
    @567qbb 3 роки тому

    thanku sir..for this video and the source code

  • @die_hard4000
    @die_hard4000 2 роки тому

    I cant turn on my gmail account because google already turned it off. Like i cant recieve otp even the program came from you says verify your acc first

  • @JarvisCodes
    @JarvisCodes 3 роки тому

    Nice Tutorial Sir

  • @dg_yy8920
    @dg_yy8920 2 роки тому +1

    Hi, someone please help me because I can't receive the otp in my email because whenever I register the right email and password, it would say "register failed, invalid account"

    • @CodeCreativeYT
      @CodeCreativeYT  2 роки тому

      Hi, before u receive the otp. you need to setting your email first

    • @joshuamagos6079
      @joshuamagos6079 2 роки тому

      @@CodeCreativeYT hello good day they removed less secured apps in google now is there other way to fix it?

    • @joegeorge4756
      @joegeorge4756 Рік тому

      @@CodeCreativeYT im having the same issue too and i've done the settings in my gmail.

    • @134snip
      @134snip Рік тому

      @@joshuamagos6079 after doing this also same msg on domain

  • @pratapbhattacharya7649
    @pratapbhattacharya7649 3 роки тому

    thank you bro
    this is help full

  • @charlesmatthewdelacruz5535
    @charlesmatthewdelacruz5535 2 роки тому

    Hi, I can't go to index, it says "You don't have permission to access this resource"

  • @joegeorge4756
    @joegeorge4756 Рік тому

    I have done everything inlcudig turing on two way authentication but its still telling me "Register Failed, Invalid Email ". Please help.

    • @CodeCreativeYT
      @CodeCreativeYT  Рік тому +1

      you have to turn on 2 authentication mode on your google account, which u used in $mail->USername, then get an app password from google account, and use it in $mail->password instead, because the LESS SECURE APP in google account is no longer supported.

  • @102-vinothkumar9
    @102-vinothkumar9 Рік тому

    now in google less secure app access is not available now what to do sir
    ?

    • @CodeCreativeYT
      @CodeCreativeYT  Рік тому

      Hi, I would like to have a look first and update as soon as possible. Thanks.

  • @arssdeff5462
    @arssdeff5462 2 роки тому +1

    Hi, i have fatal error in recover_psw.php on line 75, how to solve this problem? 🥺

    • @CodeCreativeYT
      @CodeCreativeYT  2 роки тому

      Hi, can i know what is the error message you got?

    • @arssdeff5462
      @arssdeff5462 2 роки тому

      @@CodeCreativeYT I got this message. "Fatal error: Uncaught TypeError: mysqli_num_rows(): Argument #1 ($result) must be of type mysqli_result, bool given in C:\xampp\htdocs\PTG
      ecover_psw.php:73 Stack trace: #0 C:\xampp\htdocs\PTG
      ecover_psw.php(73): mysqli_num_rows(false) #1 {main} thrown in C:\xampp\htdocs\PTG
      ecover_psw.php on line 73"

    • @CodeCreativeYT
      @CodeCreativeYT  2 роки тому

      @@arssdeff5462 That means your query didn't run properly due to an error.

  • @anthonyemmanuel8785
    @anthonyemmanuel8785 3 місяці тому

    the email mush gmail server?

  • @gamesbond4074
    @gamesbond4074 3 роки тому +1

    I sent another email, I still can't fix it. I can't move on to the next process. Please help.

    • @CodeCreativeYT
      @CodeCreativeYT  3 роки тому +1

      OK, will help you on Saturday!

    • @gamesbond4074
      @gamesbond4074 3 роки тому

      @@CodeCreativeYT Thank you!

    • @gamesbond4074
      @gamesbond4074 3 роки тому

      @@CodeCreativeYT Hello I've sent the zip file and problem.

    • @phpxml580
      @phpxml580 2 роки тому

      @@gamesbond4074 did you receive any solution? i am also having the same problem

    • @phpxml580
      @phpxml580 2 роки тому

      @@CodeCreativeYT i am also having the same problem, please help

  • @kapilchoudhary3574
    @kapilchoudhary3574 Рік тому

    hay it is not working not come verification window and not come mail

  • @Jay_hub
    @Jay_hub 10 місяців тому

    OTP is not receiving in my email. WHAT SHOULD I DO FOR THAT?? SHOULD I GIVE MY EMAIL AND PASSWORD TO USERNAME AND PASSWORD? OR SHOULD CREATE ANY ACCOUNT IN ANY WEBSITE??
    PLEASE REPLY !!!

  • @Yokkesh_K
    @Yokkesh_K Рік тому

    bro i need a urgent help, if i click login, it redirects to my html page, how to set that?

    • @CodeCreativeYT
      @CodeCreativeYT  Рік тому

      HOME

    • @Yokkesh_K
      @Yokkesh_K Рік тому

      @@CodeCreativeYT bro can you help me for connecting that , it does not work
      I need , only email and password verified as per registered credentials and then only go to html page
      I share u source code , please modify and send me , please bro tommorow I have final year project review
      Please share ur mail id

  • @jey.el.
    @jey.el. Рік тому

    hello sir please help me can't receive a code in my gmail

    • @CodeCreativeYT
      @CodeCreativeYT  Рік тому

      For those who can't send it, make sure you turn on 2 authentication mode on google account, which u used in $mail->USername, then get an app password from google account, and use it in $mail->password instead, because the LESS SECURE APP in google account is no longer supported.

    • @jey.el.
      @jey.el. Рік тому +1

      @@CodeCreativeYT I turn on may 2 auth but still can't receive

    • @CodeCreativeYT
      @CodeCreativeYT  Рік тому

      @@jey.el. did you follow the code step by step. should be working fine

  • @diskarte9519
    @diskarte9519 Рік тому

    please help me can't receive a otp code in my gmail that i registered

    • @CodeCreativeYT
      @CodeCreativeYT  Рік тому

      For those who can't send it, make sure you turn on 2 authentication mode on google account, which u used in $mail->USername, then get an app password from google account, and use it in $mail->password instead, because the LESS SECURE APP in google account is no longer supported.

  • @argiemiguel3042
    @argiemiguel3042 7 місяців тому

    it dont send me the OTP Code

  • @134snip
    @134snip Рік тому

    Hi guys it will work on sub domain ? - Message could not be sent.Mailer Error: SMTP connect() failed. plz help any one.......

  • @pulangcoshailagraceallam6677
    @pulangcoshailagraceallam6677 3 роки тому

    hi can you pls help me, i'm having trouble with the login it keeps saying invalid password even though i entered the right password

    • @CodeCreativeYT
      @CodeCreativeYT  3 роки тому +1

      Hi, yes i can help. You can send me the source code to my email
      lamkaizhe2001@gmail.com
      I will check and reply your message asap. Thanks.

    • @pulangcoshailagraceallam6677
      @pulangcoshailagraceallam6677 3 роки тому

      @@CodeCreativeYT hi I've send the source code to your gmail, thank you very much for helping me God bless

    • @CodeCreativeYT
      @CodeCreativeYT  3 роки тому

      @@pulangcoshailagraceallam6677 Hi, i will check it and reply your message tonight, Thanks too 👌🏻

    • @pulangcoshailagraceallam6677
      @pulangcoshailagraceallam6677 3 роки тому +1

      @@CodeCreativeYT thanks a lot I really need it for our school project

    • @pulangcoshailagraceallam6677
      @pulangcoshailagraceallam6677 3 роки тому

      @@CodeCreativeYT hi, I somehow manage to fix it so you don't have to fix it, still thank u for your help I really appreciate it

  • @aaronarela463
    @aaronarela463 2 роки тому

    Having issues on Register form. It says invalid email address.

  • @gimuelaguirre2121
    @gimuelaguirre2121 3 роки тому

    Hello, someone can help me because I can't receive the otp in my email when I register It says register failed, invalid account TIA.

    • @CodeCreativeYT
      @CodeCreativeYT  3 роки тому +1

      Hi, please settings your email to received OTP

    • @gimuelaguirre2121
      @gimuelaguirre2121 3 роки тому

      @@CodeCreativeYT Hello sir, thankyou for replying I already turned on the access but when I tried to register the local host says register failed, invalid email how can I fix it thankyou!

    • @gimuelaguirre2121
      @gimuelaguirre2121 3 роки тому +1

      and then when I tried it again localhost says user with email already exist.

    • @gimuelaguirre2121
      @gimuelaguirre2121 3 роки тому +1

      I followed all the steps but I don't know why there's an error in me.

    • @CodeCreativeYT
      @CodeCreativeYT  3 роки тому

      @@gimuelaguirre2121 hi, you can get the latest source code from repo. And followed the steps on video.

  • @praveenandrew
    @praveenandrew 3 роки тому

    I have one error . SMTP error ( smtp I connect failed . Smtp is not authenticate )

    • @CodeCreativeYT
      @CodeCreativeYT  3 роки тому

      Hi, please check the video step by step, you need to settings certain things on email

    • @praveenandrew
      @praveenandrew 3 роки тому

      @@CodeCreativeYT bro even I on allow less user on email security site

    • @CodeCreativeYT
      @CodeCreativeYT  3 роки тому

      @@praveenandrew what's the error message?

    • @praveenandrew
      @praveenandrew 3 роки тому

      @@CodeCreativeYT bro finally the code was run perfectly thank you 😊

    • @CodeCreativeYT
      @CodeCreativeYT  3 роки тому

      @@praveenandrew you're welcome 😊 Good job

  • @gamesbond4074
    @gamesbond4074 3 роки тому

    Thank you!

    • @CodeCreativeYT
      @CodeCreativeYT  3 роки тому

      You're welcome!

    • @gamesbond4074
      @gamesbond4074 3 роки тому

      @@CodeCreativeYT The updated github repo is good! Just a quick question can I replace the status from 1/0 to Verified/Not Verified? Thank you!

    • @CodeCreativeYT
      @CodeCreativeYT  3 роки тому

      @@gamesbond4074 Hi bro, yes I've updated to more security, yes may change the status from1/0 to verified or not verified

    • @gamesbond4074
      @gamesbond4074 3 роки тому

      @@CodeCreativeYT Thanks bro

    • @CodeCreativeYT
      @CodeCreativeYT  3 роки тому +1

      @@gamesbond4074 Most welcome 😉

  • @mirumo1834
    @mirumo1834 2 роки тому

    thank sir

  • @huachozaracho
    @huachozaracho Рік тому

    No funciona. lastima...

  • @jirmynacario2213
    @jirmynacario2213 10 місяців тому

    less secure app is not existing anymore

  • @ryanong9527
    @ryanong9527 Рік тому

    man doesnt work

  • @dylanlex300
    @dylanlex300 Рік тому

    Nothing works for me

  • @bayunirayudha
    @bayunirayudha 6 місяців тому

    .b.i.n.a. .s.a.r.a.n.a. .i.f.o.r.m.a.t.i.k.a.