Тёмный
No video :(

PHP OTP Login Verification Script 

Programming with Vishal
Подписаться 111 тыс.
Просмотров 115 тыс.
50% 1

In this video I will explain you about how to implement PHP OTP login verification script in localhost. OTP is an effective way of validating users.
In this script I am using sendgrid SMTP for sending otp emails.
For any queries and clarification feel free to comment.
For Best Hosting Plan Check:- 91weblessons.co...
Learn PHP Online with Me:- bit.ly/LearnPH...
To help and support me(Donate Me):- bit.ly/Program...
Download source code from here bit.ly/2NCvz2W
#PHPScript #PHPOTP #PHPLogin
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
✅Subscribe: / @programmingwithvishal
I am a Digital Marketer by passion and a Developer by profession. With experience and expertise spanning around 10 years, in the Digital space.
Good amount of experience in development of web applications using PHP, .Net, JavaScript Library’s, Frameworks, CMS, API’s, Reporting tools and Payment Gateways. Skilled in digital viral marketing, technology innovation's, brand building and all phases of the Web development lifecycle with an expert in translating business requirements into technical solutions and fanatical about quality, usability, security, and scalability. Dealing with and resolving problems and issues which arise.

Опубликовано:

 

7 сен 2019

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 276   
@ProgrammingwithVishal
@ProgrammingwithVishal 4 года назад
Guys if you are facing issue with Sendgrid SMTP try this GMAIL SMTP. Watch this ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-k7LSk9hOnJk.html
@ramaaryan9849
@ramaaryan9849 3 года назад
thankyou so much for such an amazing video,,,,nd sir where r u from
@cashbackloan6618
@cashbackloan6618 3 года назад
@@ramaaryan9849 his name is vishal Gupta and he from Sarita vihar, Delhi.
@ProgrammingwithVishal
@ProgrammingwithVishal 3 года назад
@@cashbackloan6618 Now in Noida
@preetsandhu422
@preetsandhu422 2 года назад
Hlo bhai data base me id kaise exit kregi i want my google sheet list gmail ids ki ek database ki tra kaam kre
@onlinecoder01
@onlinecoder01 Год назад
Bro aapko shortcut Mila kya
@kowsalya2740
@kowsalya2740 3 года назад
Hello sir, i am from tamilnadu.. Can u please a upcoming tutorial in english.. Or subtitle.. It will really helped lot. Thanks from india♥️
@priyansh5233
@priyansh5233 3 года назад
He is from Delhi, India, and he is speaking Hindi.
@Maniq_0
@Maniq_0 3 года назад
Bro i am also tamil
@priyansh5233
@priyansh5233 2 года назад
@@hiheven4656 Bro? I was replying to somebody else who deleted their comment.
@hiheven4656
@hiheven4656 2 года назад
@@priyansh5233 ooh okay! really sry bro!!
@praveenshiva8658
@praveenshiva8658 Год назад
I am also tamilnadu 💛🥰
@niteshgupta3525
@niteshgupta3525 Год назад
This is 100% working , but i modify as per my way , i used phpmailer instead of send-grid
@SICTINDIA
@SICTINDIA Год назад
Thank you sir, your video is very useful for higher, medium and lower students
@ratishal0308
@ratishal0308 Год назад
OTP received in the database but not on the email id and the page is not redirected to the OTP verification page
@saurabhmahawar
@saurabhmahawar 4 года назад
Amazing way of teaching programming. Great👍👍
@ProgrammingwithVishal
@ProgrammingwithVishal 4 года назад
Thanks a lot
@saurabhtitus8267
@saurabhtitus8267 3 года назад
Vishal sir you are grate for those students those wants to learn programming thanku so much sir
@user-di2yr2bo7c
@user-di2yr2bo7c 4 года назад
Sir aap jese teacher ko m kab s search kr rha tha jo mujhe meri language m samjha sake Sir mene aapka channel subscribe kr liya h m aapke video ko follow or like krta rahunga thanx for share simple way
@ProgrammingwithVishal
@ProgrammingwithVishal 4 года назад
Thanks a lot.
@heyizsheanny
@heyizsheanny Год назад
Sir , I have tried to run the source code but it's showing in SMTP file I don't know how to fix please guide me .
@Neha-Neha
@Neha-Neha 4 года назад
Really it helped me a lot.after completing my task I was like ohh lovely . Thanks a lot
@ProgrammingwithVishal
@ProgrammingwithVishal 4 года назад
Once again thanks a lot Neha
@samratmani880
@samratmani880 Год назад
SMTP -> ERROR : failed to connect to server: network is unreachable (101) Called Mail() without being connect. Kindly help me with this error 🙏 😔
@usama5911
@usama5911 5 месяцев назад
Sir me 4 years bad dekh raha thanks for this mini project. Sir singup kye sath ey wala system kyse bnay gee please bata do please🙏🙏🙏 Account create and login with email opt
@KshitizAgain
@KshitizAgain 4 года назад
Thanks! It helped for my online old goods selling website project🙂subscribed your channel and liked the video
@ProgrammingwithVishal
@ProgrammingwithVishal 4 года назад
Glad it helped!
@desuvyshnavi9327
@desuvyshnavi9327 2 года назад
Can you pls once explain me how it worked because I am doing the same project I stucked at this point... it's urgent ...
@myho5694
@myho5694 3 года назад
hi Vishal! i using your code. but i want to comparing the value in database with the value in input when have someone input the otp. if they give input the value is equal with the value in database that's mean they can go next step. how can i set it up? thanks
@buddytime2249
@buddytime2249 3 года назад
Vishal sir please help me I am trying to create a function but my function wasn't work the way I want...example of what I am trying to do example:- I have two basket, In first basket there are 5 mangoes and in second basket there are 10 mangoes. if require mangoes is less than 5 then pick from first basket else if require mangoes are more than 5 then pick 5 from first basket and pick remain mangoes from second basket.i am stuck and dont know how to do please help me or make one video
@sundar6492
@sundar6492 3 года назад
Thanks a lot , It really helped me , Pls Post more videos on Basics of PHP , Better if subtitle Available , Thanks Once Again
@livetrial9684
@livetrial9684 2 года назад
Please give me solution below mention function is not working. OTP is sent successfully to mysql and mail but hidden box in not viewed. success:function(result){ if(result == 'yes'){ jQuery('.second_box').show(); jQuery('.first_box').hide(); }
@globalnewshindisen
@globalnewshindisen 2 года назад
flutter code me sirf mobile number insert kare or 000webhost (phpmyadmin) pe save ho or OTP wpas mobile number pe aaye.... flutter se mobile number 000webhost pe save ho bhi rhe hai but opt nhi aa rhe hai...
@rohitkumar-ts5hs
@rohitkumar-ts5hs 3 года назад
when i click on submit , response:Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result, bool given in C:\xampp\htdocs\ff\send_otp.php on line 6 not_exist, any help, thanks
@xlr8tanmay
@xlr8tanmay 3 года назад
Can we use username instead of email? And then connect it to the database mail through a php script
@varadkahakarkar1953
@varadkahakarkar1953 3 года назад
hello sir great video but i have one query in my case otp is generated but it only storing in database i am not getting that otp on mail can u please help
@kingpatricktorreliza3854
@kingpatricktorreliza3854 2 года назад
when i click send otp nothing happen how to solve that problem
@motivmood_859
@motivmood_859 2 года назад
after doing all things i'm not getting otp in my email n this showing invalid address : $emailyes ......why? my mail apssword are ri8 then why not working?
@businessidea3380
@businessidea3380 2 года назад
Aapka videos me advanced script use hone laga hai...
@laltumandal997
@laltumandal997 2 года назад
Ek video Otp with time expiry with resend feature par banaiye Similar bank Ka Otp page jaisa Please
@muveenhasan6942
@muveenhasan6942 2 года назад
Sir email ki jaga nunber se bhi kiya hum otp verify kr sakte h
@kishoresamal7191
@kishoresamal7191 Год назад
Echo yes not working ... In console it comes with yes as well as all smtp messages
@entertainingcritics7495
@entertainingcritics7495 2 года назад
Sir kya same chij laravel me register login k sath otp generate ksath bata sakte h
@faizanjamshaid673
@faizanjamshaid673 2 года назад
great sir
@AnirudhSoni
@AnirudhSoni 2 года назад
tum bahut badhiya kaam karta hai vishal bhai
@smebajar6024
@smebajar6024 3 года назад
Sir. Agar mujhe isi code me User ka session create karne k baad main chahte hu ki agar user ki kuch aur bhi detail hamare database me hai wo yaha display ho jae. Wo kaise hoga. Please help
@priyankaa5418
@priyankaa5418 Год назад
when i click on send otp btn ....i received otp .. but otp text box not showing
@ITHUBWITHMULTICOURSE898
@ITHUBWITHMULTICOURSE898 2 года назад
sir ye code work nhi ker rha ind fill kerne per otp frame nhi a rha
@peacebuilder3164
@peacebuilder3164 3 года назад
This is great. I received otp to my mail but I strucked with an issue. The page is not redirecting to dashboard.php. What to do sir? I am using xampp. Help me sir
@ashwinivishwakarma243
@ashwinivishwakarma243 Год назад
Sir, link given to download is having smtp files only
@KannadaET24
@KannadaET24 4 года назад
not working bro when i click login nothing is happening
@ProgrammingwithVishal
@ProgrammingwithVishal 4 года назад
Because you are doing something wrong, check your browser console.
@techpatel18
@techpatel18 3 года назад
@@ProgrammingwithVishal same problem sir please help
@ProgrammingwithVishal
@ProgrammingwithVishal 3 года назад
@@techpatel18 Check console. Or email me at phpvishal@gmail.com
@wasss3745
@wasss3745 2 года назад
Im confuse where is the login_otp this file not found .
@moviewala9170
@moviewala9170 3 года назад
No doubt. You are the best!!
@kishorindhe4891
@kishorindhe4891 4 года назад
Such a good explanation sir
@ProgrammingwithVishal
@ProgrammingwithVishal 4 года назад
Thanks a lot Kishor.
@susilkumarbehera1681
@susilkumarbehera1681 3 года назад
Sir why u store email in database, you have to create a video to submit email with OTP
@vineetbawa86
@vineetbawa86 4 года назад
its sooo easy when yo explain .. !!
@ProgrammingwithVishal
@ProgrammingwithVishal 4 года назад
Welcome Vineet
@sardorjs3647
@sardorjs3647 4 года назад
Thanks for great video tutorial, there's one thing that I want to know, how to do so when we verify OTP, in database the column otp is still being his verified OTP, now it's disappearing when we verify the OTP, and do we got the method how to add one extra column named like "is_verified" with values "Yes/No". Please could you help me with it!
@ProgrammingwithVishal
@ProgrammingwithVishal 4 года назад
For this create a separate field "is_verified" in table. Once you generated OTP insert "No" in is_verified and after OTP verify update that is_verified to "Yes"
@sardorjs3647
@sardorjs3647 4 года назад
@@ProgrammingwithVishal and what about default disappearing otp when someone is verify it. I followed what happening when we are sending otp to user and understand that it appears in database when otp is generated but when we verify this otp is disappearing. How to change it?
@ProgrammingwithVishal
@ProgrammingwithVishal 4 года назад
That is because in check_otp.php line number 9, after OTP verification I am updating otp to blank.
@sardorjs3647
@sardorjs3647 4 года назад
@@ProgrammingwithVishal thanks it works!! Can you tell how to do is verified more details, if you will have a free time please, more code information))) please)
@priyansh5233
@priyansh5233 3 года назад
@@sardorjs3647 Steps - 1. Create a row "is_verified" in your table. 2. Now after checking if the email exists in the database just insert "No" in that table along with the generated OTP before sending email. 3. Now when the user enters correct OTP, update the value of "is_verified" to "Yes".
@amanprasad2349
@amanprasad2349 3 года назад
Sir aap pls apna code editor change kr lijiye sar dukhta hai dekh ke
@dear_life_23
@dear_life_23 2 года назад
Smtp error 535 authentication failed Plz help
@sonaliverma1562
@sonaliverma1562 Год назад
Thankyou so much sir
@sayaklahiri8583
@sayaklahiri8583 4 года назад
thank u sir for this course sir i have a question agar hum kisi registered aadmi ko otp vejna chahenge tow uske liye hume tow us admi ki mail ka password nehi pata hoga , and agar multiple people ko vejna chahenge then function me username and password pe kya change hoga
@ProgrammingwithVishal
@ProgrammingwithVishal 4 года назад
Please check ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-U8wyK_A66yY.html
@sayaklahiri8583
@sayaklahiri8583 4 года назад
@@ProgrammingwithVishal okk sir , thank u
@uniquethinkers8552
@uniquethinkers8552 4 года назад
Sir mene iska code kiya or run bhi kiya lekin me jab email likhle send button pe click karta hoo to user ke table me otp to add ho jata he lekin user ko send nahi ho raha he pleas sir iska solutions bataye
@ProgrammingwithVishal
@ProgrammingwithVishal 4 года назад
Yaha pe humne sendgrid ka use kiya hai OTP ke liye, Sendgrid ne kuch changes kiye hai, Sendgrid ki jagha aap GMAIL SMTP use karo. Please follow ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-k7LSk9hOnJk.html
@solomanvarghese6481
@solomanvarghese6481 3 года назад
What we do if the email goes to spam folder ?
@alaabidalhussain2710
@alaabidalhussain2710 2 года назад
Bro can we send the otp to mobile number as well with this script. Kindly assist
@rajabhishek4973
@rajabhishek4973 5 лет назад
Nice sir please make a video on payment gateway and QR code php script
@secretcaptain7694
@secretcaptain7694 3 года назад
Sir I think you don't need to store OTP. You just set on session and verify. It will be more secure.
@ProgrammingwithVishal
@ProgrammingwithVishal 3 года назад
Session can be hacked via cookii
@moriomchowdhury9170
@moriomchowdhury9170 3 года назад
In smpt.sendgrit.net what should i write
@bibinjoy6248
@bibinjoy6248 3 года назад
Nice and simple presentation
@ProgrammingwithVishal
@ProgrammingwithVishal 3 года назад
Thank you
@yashashreewarang6294
@yashashreewarang6294 4 года назад
When I click on send otp, second box don't open and get error in my console saying - uncheck runtime.lastError: The message port closed before a response was received.
@ProgrammingwithVishal
@ProgrammingwithVishal 4 года назад
Please sent me screenshot. My email id phpvishal@gmail.com
@akhilanair1488
@akhilanair1488 3 года назад
@@ProgrammingwithVishal yes sir facing the same error but i have no errors.but the second box doesnt get redirected
@abhigyanaishwaryamishra5670
@abhigyanaishwaryamishra5670 4 года назад
I have uploaded files in local server otp is saved in databse when i press send otp button but its not redirected to check otp button and also mail is also not received
@ProgrammingwithVishal
@ProgrammingwithVishal 4 года назад
Check your console, I guess there are some error
@sonakshic3431
@sonakshic3431 3 года назад
Phone number based otp verifocation kese kre sir Is pr b pls bnaiye ik video
@vipin8272
@vipin8272 5 лет назад
Great Sir but please mobile pe otp send karo then verify ek video ispe bi bna do
@ProgrammingwithVishal
@ProgrammingwithVishal 5 лет назад
Sure will do in next video
@steplittle3516
@steplittle3516 4 года назад
@@ProgrammingwithVishal sir abhi tak aap nai ye video uplod nahi ki
@gohardarakshan8193
@gohardarakshan8193 4 года назад
Hello sir.. It's really very helpful video but I have a question may I ask it individual??
@ProgrammingwithVishal
@ProgrammingwithVishal 4 года назад
Thanks and Email me at phpvishal@gmail.com
@nasirkhan5836
@nasirkhan5836 3 года назад
Sir appne action= "confirmation. File ka code show nahi kiya
@arshsiddique3653
@arshsiddique3653 4 года назад
@programming with Vishal sir make a video on how to send OTP on phone number ... please🙏🙏🙏
@ProgrammingwithVishal
@ProgrammingwithVishal 4 года назад
Noted.
@teluguexpress4314
@teluguexpress4314 3 года назад
Sir after giving email address otp was generated in database but after it not going to second box for submitting otp At 17:39 in your video u also got same problem. What I have to do sir
@aadarshsm
@aadarshsm 2 года назад
any solution to this???
@akshataghag9087
@akshataghag9087 Год назад
Can you please do this same email otp in laravel
@sunildogra3975
@sunildogra3975 Год назад
Sir, thank you for the php code for otp verification, Kindly help as i am receiving error as Please enter valid email though i have entered a valid email id and saved the same in the database
@anilkumarjena9300
@anilkumarjena9300 4 года назад
Why this code is not working in live server??
@ProgrammingwithVishal
@ProgrammingwithVishal 4 года назад
Go to console and check error. May be openssl is not enable on your server
@surendrasingh-ee4uw
@surendrasingh-ee4uw 4 года назад
Sir whatsapp server pr Maine change no to change no kai bar kiya fir time 24 hours hogaya to kiya server wale dekhe sakte h esa agar maine bar bar kiya
@ProgrammingwithVishal
@ProgrammingwithVishal 4 года назад
Samjha nahi main aap kya boal rahe wo. Apne comment email otp ke post pe kiya hai or aap whatsapp ki baat kar rahe ho
@mageshk900
@mageshk900 Год назад
:Undefined index: email in C:\xampp\htdocs\otp\send_otp.php on line 4 not_exist Kindly Help me
@amitkasabe
@amitkasabe 4 года назад
Sir can you please upload a video where user can put his all information and then that information gets stored in database and form the same database email id should be verifies
@ProgrammingwithVishal
@ProgrammingwithVishal 4 года назад
It's pretty simple. Use below link for insert data into table. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-_Xur7dkDMMc.html
@hiheven4656
@hiheven4656 2 года назад
disliked due to not mentioning Hindi in video thumbnail nor in title
@romiapaul3996
@romiapaul3996 3 года назад
thank you so much sir for this video
@getsetcodesg3189
@getsetcodesg3189 3 года назад
Sir I am facing problem when I click on SEND OTP button switch nahi ho raha hai can you please help me
@getsetcodesg3189
@getsetcodesg3189 3 года назад
Sir please reply me
@rks1509
@rks1509 4 года назад
Sir, this method is great but can you provide any alternative in which we don't have to store the OTP in database and we can just check it in the script??
@ProgrammingwithVishal
@ProgrammingwithVishal 4 года назад
Yes, store OTP in session then
@rks1509
@rks1509 4 года назад
@@ProgrammingwithVishal that's quite better than storing in database. Thanks a lot 😊👍!
@priyansh5233
@priyansh5233 3 года назад
@@rks1509 anyone can just get the otp without having to go to their email inbox, they can just see the cookies stored on the browser/local machine.
@rks1509
@rks1509 3 года назад
@@priyansh5233 yeah, you're right, I don't know what I was thinking about when this thought came into my mind, but yeah, not every user knows that we are using session variable to store it.. but yeah, u are right
@PagePixels
@PagePixels 3 года назад
I can't connect my database please help me
@PagePixels
@PagePixels 3 года назад
This is error log occurred [24-Nov-2020 09:47:00 UTC] PHP Warning: mysqli_connect(): (HY000/1045): Access denied for user 'root'@'localhost' (using password: NO) in /home1/sangawl6/public_html/send_otp.php on line 3 [24-Nov-2020 09:47:00 UTC] PHP Warning: mysqli_query() expects parameter 1 to be mysqli, bool given in /home1/sangawl6/public_html/send_otp.php on line 5 [24-Nov-2020 09:47:00 UTC] PHP Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result, null given in /home1/sangawl6/public_html/send_otp.php on line 6
@nilasishdas7208
@nilasishdas7208 4 года назад
Sir, I have a query related to logout.php.... can I use season_destroy(); then use the header to the index location?
@ProgrammingwithVishal
@ProgrammingwithVishal 4 года назад
session_destroy() jitna bhi session hoga sab khatam Kar dega. Now assume ki apke user and admin dono ka login Kiya hai, now session_destroy() admin and user dono ka session khatam Kar dega.
@nilasishdas7208
@nilasishdas7208 4 года назад
@@ProgrammingwithVishal thanks for a brief explanation sir, now I understand the limitation of season_destroy()in this problem.
@sufiisarkaar4082
@sufiisarkaar4082 2 года назад
Error 535 sir
@niru1931
@niru1931 4 года назад
This is not working sir, in send_otp it is showing undefined email variable , plz reply sir i am stuck in it for 2 days🙏🏻🙏🏻
@ProgrammingwithVishal
@ProgrammingwithVishal 4 года назад
You are doing something wrong. Give me your PC access via anydesk or teamViewer
@niru1931
@niru1931 4 года назад
@@ProgrammingwithVishal okay sir
@pratishshrivastava174
@pratishshrivastava174 4 года назад
Function(Result) call kha hea hea
@ProgrammingwithVishal
@ProgrammingwithVishal 4 года назад
email me details at phpvishal@gmail.com
@AvinashKumar-oj8xc
@AvinashKumar-oj8xc 4 года назад
hi Vishal, make a video about otp verification using mobile number in the web page verification.
@ProgrammingwithVishal
@ProgrammingwithVishal 4 года назад
Sure Avinash. But you can do that by yourself also. Just replace mail send coding to sms send coding. For SMS please follow my below video ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-kDEyqRFS0Z8.html
@bharathchippa3773
@bharathchippa3773 4 года назад
when I press the send otp button its not working..please help
@ProgrammingwithVishal
@ProgrammingwithVishal 4 года назад
Check your Console. Have you changed the api details?
@rishikeshjangam3474
@rishikeshjangam3474 2 года назад
which username and password we have used in this video in send email function
@ProgrammingwithVishal
@ProgrammingwithVishal 2 года назад
ru-vid.com/group/PLWCLxMult9xfY_dsYicKGcCLhlZ6YXFMh
@rishikeshjangam3474
@rishikeshjangam3474 2 года назад
@@ProgrammingwithVishal Thank You Sir.😊
@nidhipathak3394
@nidhipathak3394 4 года назад
I follow the steps but getting error Password not accepted from.server 535 authentication failed bad username and password Error reet failed
@nidhipathak3394
@nidhipathak3394 4 года назад
Please reply
@ProgrammingwithVishal
@ProgrammingwithVishal 4 года назад
Nidhi, it's clearly showing your are using wrong username and password here. Also instead of SendGrid try gmail SMTP ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-k7LSk9hOnJk.html
@techpatel18
@techpatel18 3 года назад
Sir how send otp in mobile number
@shivprakashsharma3690
@shivprakashsharma3690 2 года назад
You are great sir
@shakshamagarwal7070
@shakshamagarwal7070 4 года назад
aapne database ka name user daala or connection youtube se bnaya ??
@ProgrammingwithVishal
@ProgrammingwithVishal 4 года назад
Database ka naam RU-vid hai and table ka naam user hai
@hritikparmar2935
@hritikparmar2935 3 года назад
What is database name
@PlatinumSagar
@PlatinumSagar 2 года назад
Thank you sir.
@lvgroup3861
@lvgroup3861 4 года назад
excellent explanation
@ProgrammingwithVishal
@ProgrammingwithVishal 4 года назад
Thanks a lot
@naso4383
@naso4383 4 года назад
Thank you for the good information. I've done the same thing, but there's no response when I press the "send otp" button. What's the reason?
@ProgrammingwithVishal
@ProgrammingwithVishal 4 года назад
Is there any error or response you are getting?
@naso4383
@naso4383 4 года назад
@@ProgrammingwithVishal If I press F12 button on web page to check the network part, "SMTP -> ERROR: Password not accepted from server: 535 Authentication failed: Bad username / password SMTP -> ERROR: RSET failed: SMTP -> NOTICE: EOF feeling checking if following the following from address failed: vishalphpyt@gmail.com : Called Mail() without being connected yes" The error will be confirmed.
@ProgrammingwithVishal
@ProgrammingwithVishal 4 года назад
Recheck your configuration setting. Also change vishalphpyt@gmail.com to your sendgrid email id
@naso4383
@naso4383 4 года назад
@@ProgrammingwithVishal I modified the smtp_mailer() in the send_otp file to the id and password of my Google email. Is this the right way to do it? There is still no response when the "send otp" button is pressed. (When I enter an email that is not in the database, "Please enter valid email" is shown.) An error occurs with the same content as before. In the PHPOTPLoginVerificationScript\smtp\mailer file, Do I have to modify the $mail->Username, $mail->Password, $mail->SetFrom part just like the smtp_mailer() in Sent_otp?
@ProgrammingwithVishal
@ProgrammingwithVishal 4 года назад
Use sendgrid account details instead of Gmail account details as per the tutorial
@mayankkashyap1893
@mayankkashyap1893 4 года назад
query for latest timestamp and a given condition? Please help
@ProgrammingwithVishal
@ProgrammingwithVishal 4 года назад
Sorry not getting you.
@samanjoshi9171
@samanjoshi9171 4 года назад
sir send otp pe cklick karne ke bad submit otp ki field nahi ati otp enter karne ke liye please give me a solution
@ProgrammingwithVishal
@ProgrammingwithVishal 4 года назад
Check console
@shubhradasgupta691
@shubhradasgupta691 3 года назад
I am on (Xampp) Localhost. How can I send emails from there?
@mdmoqimalam9183
@mdmoqimalam9183 Год назад
php mailer
@akshayakumarpallai7130
@akshayakumarpallai7130 3 года назад
Thank you for this
@YogeshJangid986
@YogeshJangid986 5 лет назад
Hi, Thanks for uploading such great code. Can I have a database file so that I can import?
@ProgrammingwithVishal
@ProgrammingwithVishal 5 лет назад
Thanks a lot Yogesh. Below is the link to download the source code and db file. bit.ly/PHPOTPLoginVerificationScript
@untouchedwonder5311
@untouchedwonder5311 4 года назад
sir i am trying to host this file on online this is a problem to send otp on gamil (which we write on input field) this is link => createyourweb.epizy.com plzz replay fast
@ProgrammingwithVishal
@ProgrammingwithVishal 4 года назад
You have an error in send_otp.php, Share your file at phpvishal@gmail.com
@guptarahul97480
@guptarahul97480 4 года назад
gmail me agar double verificatio rahega toh mail nahi jayyega kya ? Bad Username
@ProgrammingwithVishal
@ProgrammingwithVishal 4 года назад
Yes, 2 step verification enable hoga toh SMTP work nahi karega
@guptarahul97480
@guptarahul97480 4 года назад
@@ProgrammingwithVishal Thanks
@sfmgpl6977
@sfmgpl6977 4 года назад
code work nhi karhai
@ProgrammingwithVishal
@ProgrammingwithVishal 4 года назад
Console maine issue dekho aap.
@maheshbagra9403
@maheshbagra9403 3 года назад
Sir polite request please tell him how to connect with SMTP server
@ProgrammingwithVishal
@ProgrammingwithVishal 3 года назад
Check ru-vid.com/group/PLWCLxMult9xfY_dsYicKGcCLhlZ6YXFMh
@zero_n_one3782
@zero_n_one3782 4 года назад
Thank you its work with gmail now but not with sendgrid . However when i send the otp to email id it send to my account and also updated in my database but it wont show the submit otp box after clicking the send otp button why these happening although i used your code but only part its not working is send otp box is not appear where i can put my otp code. Please can you kindly let me know for not working properly. Thank you once again.
@ProgrammingwithVishal
@ProgrammingwithVishal 4 года назад
May be you are getting space in response. Just use result=result.trim(); after success:function(result){
@zero_n_one3782
@zero_n_one3782 4 года назад
yes i did the way you said but doesn't have any changed still same problem no display.
@oynxmedia
@oynxmedia 4 года назад
ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-12ryCL12Vr8.html
@mayankkashyap1893
@mayankkashyap1893 4 года назад
Bhaiya submit otp button or click krne se wo next page ko nhi jaa raha h . please help
@ProgrammingwithVishal
@ProgrammingwithVishal 4 года назад
submit se success result aane ke baad, javascript se redirect kar lo
@mayankkashyap1893
@mayankkashyap1893 4 года назад
Bhaiya I need help
@unrealexperton
@unrealexperton 4 года назад
Sir can please send me data base file please I this that giving me error on 000webhost 🙏🙏🙏🙏
@ProgrammingwithVishal
@ProgrammingwithVishal 4 года назад
Download from below link bit.ly/2NCvz2W
@rajusinghrajput4442
@rajusinghrajput4442 4 года назад
Sir mobaile number OTP me time limit or resend OTP kese add karte he
@ProgrammingwithVishal
@ProgrammingwithVishal 4 года назад
Maine ek details video jaldi banane wala hoo, ye topic pe.
@rajusinghrajput4442
@rajusinghrajput4442 4 года назад
@@ProgrammingwithVishal Ok sir
Далее
Get 10 Mega Boxes OR 60 Starr Drops!!
01:39
Просмотров 12 млн
아이스크림으로 진짜 친구 구별하는법
00:17
Sending OTP SMS in PHP from localhost using textlocal
14:30
How to send SMS using PHP | Textlocal API
16:08
Просмотров 94 тыс.
How to Send an OTP Message in phone number using  PHP
13:25
How to setup otp verification in a website.
14:23
Просмотров 17 тыс.
Get 10 Mega Boxes OR 60 Starr Drops!!
01:39
Просмотров 12 млн