• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to send otp to two mobile numbers?

#1
hai
I want to send otp in to two mobile numbers. Is it possible to send?

My otp like '12345678';

for first mobile number: first 4 digit (1234)
second mobile number : last 4 digit (5678)

Need suggestion.
Reply

#2
You can put conditions when OTP ll generate.

For example,

if($mobile_no = "9033xxxxxxx"){
$otp_num = 1234;
}elseif($mobile_no = "800xxxxxxx"){
$otp_num = 5678;
}else{
$otp_num = rand(1000,9999);
}

Hope this example will help you.
Reply

#3
Yes,

of course you can send otp on two mobile numbers.

In place of doing this you can also send first OTP to mobile number and another OTP to email-id.
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.