How to Generate and Send OTP SMS For Free using PHP? [With Source Code]
Vložit
- čas přidán 2. 11. 2018
- Support us on Patreon: / runcodes
signup with txtlocal: www.textlocal.com/?tlrx=874958
This video will show you how you can generate and send OTP SMS using PHP.
NOTE: I forget to tell you:
1. The mt_rand() function generate random number
2. if you enter other number than received you will get error "otp wrong". i forget to show you this!
Define site and testing server in Dreamweaver cc: • How to Define Your Sit...
Source Code: www.runcodes.tech/programming...
Multi-user Login: • How to Create Multi Us...
QUIZ Application in PHP: • How to Create Quiz Web...
Send free sms using SMS API in PHP: • How to Send Free SMS U...
Send Free SMS using php: • How to Send Free SMS u...
Send an email using php: • How to Send an Email u...
PHP#1: Why do you need to learn PHP?: • PHP#1-Why do you need ...
Previous Video: PHP#2: Why php is loosely typed language?: • PHP #2- Why PHP is Loo...
Make login form in PHP using Dreamweaver CC and mysql database: • How To Create Login Fo...
Insert Delete update and search data in from database in php part1: • How To Insert Update D...
Insert Delete update and search data in from database in php part2: • How To Insert Update D...
Insert Delete update and search data in from database in php part3: • How To Insert Update D...
Simple login form in PHP: • Create Simple Login fo...
This video is created by Ran and RunCodes own this video. Using of this video on other channels without prior permission will be strictly prohibited. (Embedding to the websites is allowed).. So stop copying and be a responsible people.
Follow us on Social Media:
Facebook: RunCodesPage
Instagram: runcodes
Twitter: RunCodesTwit
For more: www.runcodes.tech
#OTPUsingPHP #SendOTP #PHPOTP - Věda a technologie
thank you so much brother for this session
Amazing and working
Sir! OTP sended but, not received on my mobile!
Please sir help me
if(isset($_POST['ver']))
{
$otp=$_POST['otp'];
if($otp==$_COOKIE['otp'])
{
echo("Login Successfully");
}
else
{
echo("Enter Correct OTP");
}
}
Need to change this code....
it prints 1st Enter correct otp and again Login Successfully for all right and wrong OTPs
Thank you !!
Hello, I would like to know what we need to fill in API test.
Thanks bro, very helpful video...
Bro i am getting error undefined fuction curl_init
What should i do
thank you sir
do you like our work?
does this tutorial help you?
if so, you can support us at www.patreon.com/RunCodes
@@arlynkeithfurigay8412 run javascript and do the query to send otp again
sir how can we get otp on mobile number without api i mean i want my small sms gateway server for my website login system with mobile verification how can do this
You can use txtlocal for that
otp not going and no show any error
Thank you
Not working an.accpunt isnot opening inyextlocal
Hi nice tutorial , but i have problem. When i put current otp it will say : logined successfully , but when i put wrong otp it will say : logined successfully. I dont know why , i downloaded your code but its a same problem. Can you help me ?
watch video again and check your code do not copy code directly.
From did you copied the code. The given website is not showing any code.
????
@@rajeevmishraa show the $result bro
@@rajeevmishraamy problem is same like you. i have to paid to get the credits
Sir can you tell me?
Where we will write the code in editor or eclipse or netbeans??
anywhere you want!
It's not working all procees are done properly but yet I not get any otp
May be problem from txtlocal, so contact them!
OTP not send to mobile number ....even I purchased text credit but showing no error and OTP not send
Couple of Solution:
1. Try changing OTP Receiving Phone Number.
2. Try using +0 or 00 before your country code.
3. Contact txtlocal.
NOT WORKING
getting this error
Fatal error: Call to undefined function curl_init()
see your code!
Does it only work in India? I'm from Tajikistan, does not work in my country!
We don't know contact txtlocal.co.uk!
Tq so much
Hello Sir I have facing issue with OTP generation, OTP is didn't received on my mobile number can you please help me to solve this.
Contact txtlocal stating your problem
We’re sorry but sign-ups from your country are not available.
so what can I do now?
please help me
what if I send an otp to others numbers, and check the created cookie to see the opt saved?😂
It is no longer free to send SMS from that website :(
Hello, have you found some free solutions?
{"errors":[{"code":3,"message":"Invalid login details"}],"status":"failure"} can you help me please ?
eneter the same login details that you used while signing up with txtlocal!
How many sms i can make per day? tnx
Bro, I keep getting OTP SEND SUCCESSFULLY but none delivered :(
contact txtlocal.co.uk team!
long shot but did you ever get a fix for this?
I want to know something please
Verify OTP What happens if you put the code in
What is the benefit?
THANKS FOR VIDEO
to verify whether user enter the same otp that your software generate or not!
there is no otp message
can you please suggest any solution
contact txtlocal for their inconvenient service !
how can i enter automatecly code otp when i reccevd sms code
stackoverflow.com/questions/30862162/otp-token-should-be-automatically-read-from-the-message here you go!
Can we use auto fetch in web ?
Why we not use api key ?🤔
We had used!
Hi! If I follow this tutorial would I potentially be able to set up a text bot where folks text a number and automatically receive a link texted back to them?
Sir sms me Logo lagne ke laye kon sa cod lagate h
Jise ke bank sms me aata h
Jise ke jio sms me aata h
jise ke phon pe me aata h
jise ke pytam sms me aata h
no sign up for the philippines
How to set invisible captacha
use password field!
I am not able to get sms
good
Error in $ch=curl...code
stackoverflow.com/questions/3987006/how-to-catch-curl-errors-in-php here you go!
Plz source code snd KR do..
Otp is not going bro??
Try again !
error showing on line 14 $ sender unexpected variable
please how can i link this otp to my online trading platform that requires me inputting an sms verification for transactios
Like we did in this video, follow the same process!
Ok.thank you
Android version hoba bro
OTP is not receiving in phone
contact txtlocal.co.uk! The problem is from their side!
Hi I cant copy the php code hopefully you can send it for me soon!
go to our website!
otp not send in our mobile no.
Sir g I am not able to download this source code plzzzzz provide me another liknk
Click subscribe button, code will be displayed !
No send otp
error?
Not sending otp
contact txtlocal!
उसका कोई एप्स बनाओ ना bhai
not working
Contact us at facebook.com/TechSupportNep
Textlocal take charge of sms it is not free
lots of adds is coming on your viedo
can you give me file php please
Please provide for india
Nit working
try again! may be txtlocal run under some problem!
Is not working
Must work!
@@RunCodes I think there's need any dlt registration?pls reply
FAKEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
Its not free. SCAM!
Are you nepali?
Yup!
it is not for free though. but good work
Super
This is not FREE!
Hello, have you found some free solutions?
Fatal error: Call to undefined function curl_init() in C:\wamp\www\Zym\Paper.php on line curl_init("api.txtlocal.com/send/");
Can you Please Help ?
www.geeksforgeeks.org/how-to-remove-error-call-to-undefined-function-curl_init/