Sending OTP SMS in PHP from localhost using textlocal
HTML-код
- Опубликовано: 2 дек 2024
- Get 10 free credits by registering on textlocal by using this link: www.textlocal.i...
Sending OTP SMS in PHP from localhost using textlocal
activate your account on textlocal
Generate api key
Send otp and verify otp
Get the code from my GitHub account:
github.com/dur...
Share, Support, Subscribe!!!
RUclips: / learnwebcoding
Facebook: / learnwebcoding
Blog: dwebcoding.blog...
GitHub: github.com/dur...
Connect with Me:
Linkedin: / durgesh-sahani
Facebook: / durgeshsahani99
Instagram: / durgesh_sahani99
Twitter: / durgeshsahani99
Get 10 free credits by registering on textlocal by using this link: www.textlocal.in/?tlrx=538027
Sir cant register account i coudnt receive verification code from my mobile number
Plz sir help me 5 mint meri. Baat suno plz mujhe koi software banwana hai aapse
Watsapp pe baat kr lo chahe plz
It works only for jio numbers not for others..
it shows " Error: Invalid template " pls help.
@@theavezkhatri Same here..
Please help how to solve this Error..!??
thank you , psychology is programmer does not find silly mistake quickly but other programmer who see you code and find it in few second .
Durgesh, Thanks for sharing knowledge. Can you help prepare new video explaining 'Textlocal PHP Class' all features with some good example. This will help most people the associated activities with Sending SMS, tracking cost, handling Errors etc. This will give close insight of 'website SMS management' which everybody would be interested.
on line 14 8:57 it says $_POST['sendopt'] instead of sendotp, why does it still work? or the name is not used anywhere else?
When will the otp go to the entered mobile number? The otp is going to the mobile number I have put in code and not the one entered in form.
Thank you Durgesh Sahani, It was a great tutorial indeed, and can you please make a video on "Forget Password" system based on this same video?? So that we can implement on this same tutorial...
Thanks for this tutorial. First i got Error: Invalid login details. Then found code in help section after registering
how did u solved , can u explain .
first register in textlocal. Then in ur profile under help->all documentation. Go to bottom part. There is a link. Code is in there.
@@ancyea where to paste that code?
Supperb Bro What a tutorial It Worked Properly Loved Your Your video Please Upload such more content
Hi Durgesh,Thanks for sharing your knowledge. Can you help me i am not receiving the otp’s and I am not facing any error (warnings) also.
this sends otp to any mobile number entered right? where is the mobile number variable being stored?
U r entrng wrng num den hw d otp is generating to ur phne only????
It shows error 80 and invalid templates. So when i try to create template its shows enter entity id or registration id so i can't able to create a templates please help me sir.
He actually making all us idiot
did you get the solution please help its urgent
it showing error like this"Error: No recipients specified" whats that mean i enterd the mobile number and api key in credential.php
right now m also facing the same thing if yu know the solution please let me know????
sir this video helps me but i have a issue related to the "Error: Invalid template " pls guide to me how to solve it?
Hi bro such a wonderful video can u tell me how to redirect to other page with code
Hey i am getting error as a invalid template.
Can u help me
@@vaishnavimogal2977 I am getting same error, please help me
Sir this is related to database if not? Then how to it works
can the same be done with javascript or typescript?
thank you so much....it worked very well
Your welcome!
Hey plzz share me d code.. I really need that
swatisandanshiv@gmail.com
i got error invalid template what to do ? please help
It works well, Thanks for the tutorial
How to make the design you have made at the beginning of the video??
How to make this code send a sms and email too?
This is working 100% sir and thank u so much
can u give me the code plz
+Regala manikantha follow the instructions given by Sir step by step it will work I m not providing code
SAME WITH ME PLEASE PROVIDE THANK YOU
rthrsim@gmail.com
can u giv eme the code plz
@@rajdhanki8740 i think so this is fake review
Error: Invalid login details this error how can be solve
you should have API key
yea bro where is the main script ping it in description pls
Why textlocal website is not available in my country Philippines??
i am hitting from the postman and i am getting an error, Error: Invalid login details plz provide me the solution to solve it
I am not able to create sms template to send sms. Getting error saying "DLT Registeration Id required". Can you help me please
Error: Invalid login details
did u get ur answer
same error
thanks for your idea but,when i run it says Error: Invalid login details
sir please show , how to get our websites contact form details on mobile as a text message.
Is it possible from the Localhost?
When I run the code i get the message "invalid template" why it is?
did u find any soln
if yes plz tell me also
what and why is this invalid template issue?
Can it work for people in other countries?
i have created an HTML form, how do i retrieve mobile number the user will enter, and what did you say about the mobile number i didnt get that
Can we send an encrypted image as an OTP through this method (using mms instead of sms)? There the OTP is hidden in the image. Can we use this codes and text local with encryption algorithm?
Fantastic video..Thanks for it
Thank you!
Well,It is working perfectly.
will you please send me the files as soon as possible...please
can i do same thing with session for destroy OTP after some minutes ?
after verifying mobile number must enter into database can u help me with this
could you please make video on msg91 integration on wordpress using codes or any other method.Please sir .
Sir how solve this error in textlocal
Message can only be sent between 9am to 9 pm at restricted by TRAI NCCP regulation
Durgesh Sahani sir , if i want to send otp to any one of gmail then what should do changes in my php files, plz help me sir..
Why I cannot use any any other value for $sender variable in the place of "TXTLCL"?
it shows invalid template when i click send otp
Hi guys index.php $number = array( Your mobile number or Post number) please replace and check
Sir show this warning:- use of undefined constant API_KEY -assumed 'API_KEY '(this will throw an error in a future version of php )
if i want to send otp to other mobile number sir then what do i have to change in credential.php and and index.php file and i want to set mobile number field if i put another mobile number it will send otp to that particular other number not in same our number sir please help
Textlocal failed to send verification code in my phone number !! Can i use your api key ??
It showing invalid template
Why ?
Help me in this .
found a solution please help ?
@@simpleinc2065 i switched to email otp login
sir I am not able to get 10 free messages through text local why? can u help me please.
Hello .. can you please help me . I want to accept user input nos and it shows error in $_POST . So please help me regarding this.
Will it work in Bangladesh? Coz you r using India's bulk SMS platform
I am not sure, please check their website, or use other provider. Logic for creating otp and sending will be same.
Thanks Bro!!! Thank You so much... its working
Error: No recipients specified please help me.
sir otp you send is valid upto how many minutes???
Everytime I press submit the page refreshes and hence the otp is sent twice
can I use from Bangladesh?
pleas reply that how to numbers and name store data in MYSQL...
Can you share Source code for above project on your videos or blog share it
Durgesh, Thanks for sharing your knowledge! Excellent video tutorial using PHP for sending SMS,
I am totally new to coding with PHP. I have a simple question what does the abbreviation OTP stand for? One Time Payment? (my thinking) Or other like " One Time POST "? (simply asking for information..)
OTP: One Time Password
i have facing error invalid templet please give me solution of it
how did u make localhost connected to internet services? I am having trouble understanding that because otp is not coming to my smartphone but code is writing sent successfully. Then i ran the whole thing without network, in that too it is giving otp sent successfully.
My point is that whether internet or not otp services are accessible to localhost, its just the frontend part working!!
That Is not a localhost , it his website you have to host In website
Thanks Bhai.....but sabhi number ko ye OTP send nhi ho raha...... it shows "Error: No valid numbers specified" Like that Error msg
same error
@@harshitpandey470 same
Error: Invalid template if i run the code it show error {Error: Invalid template}
ple someone help to fix the problem
Failed to connect to the Textlocal service: Could not resolve host: api.textlocal.in. how to resolve it?
i used "TXTLCL", now it is working but i want to use my sender name. How can i use it?
sir otp is not verify.why
bro, can you make video how someone get code from mobile to email.
how much per SMS will it cost?
Error:invalid template what to do bro
OTP is not getting verified ... what to do now
Notice: Undefined index: otp in D:\xampp\htdocs\trial\index.php on line 283 ..PLEASE SOLVE THIS ERROR
otp not generating.
it is not working localhost why ?
Really Helpful
Hi Rohith will you please help me on this task .Because I have written the code but I am not receiving the otp.
Sir mere me httprequest class not found error aa rha h
Sir its work in Pakistan??
show Error: Invalid login details
Download this files first api.textlocal.in/wrappers/php-in.zip
than creat account on textlocal.in
than try
How about if you want an unlimited sms?
Where is the form data and mobile number saved.
Error: No recipients specified please help me.
sir jo aapne mobile daala tha usse nahi ho rha
but OTP is showing browser " right click inspect element,APPLICATION,COOKIE" option how to hide this???
don't save it in cookie...for verifying purpose save it in a global variable.
This doesn't work at all, dlt error
hi
that will be send sms to only number enter you mobile do not mobile send and how to any mobile number rong that will sms mobile number rong caret mobile number enter
it shows " Error: Invalid template " pls help.
i am getting an error bro "ERROR:No valid numbers specified" Kindly help
Can you share a source code for this please? YOu are too fast and I lose you along the way. I get errors if I try to do all the steps you are taking
It's only take jio numbers not others. it throws errors
this is not working ..it just show the query only . i m not getting any otp.. plz put right code
follow the instructions guided by tutor its wrkng for me 100 %
it is showing error as INVALID TEMPLATE .
Me too... How did you resolve it?
@@priyadharshinir8434 BY REPLACING THIS FUNCTIONALITY WITH GMAIL SMTP
@@priyadharshinir8434 i am also stuck at invalid template issue. were u able to solve it?
I am getting error: failed to connect to the Textlocal service:api.textlocal.in. ... can u explain about the error?
Your internet is disconnect, then connect and try.
i got an error "Invalid sender name", i have tried many names in many way still it is showing. Please help
if u found a soln plz tell me
API key is not generated
i put same code but its showing
Fatal error: Call to undefined function curl_init() in D:\xampp\htdocs\unique\admin\textlocal.class.php on line 102
In your localhost it will not work, since your PC is inside a private network.
it says invalid login details
code not working , Error: No recipients specified,
Invalid Template should i request the $message as new template
if u found a soln help plz
Error : invalid template plz help
vijay you have WA (whatup) iam want to question about otp login..any problem
hi
i am not complete and suggestions