Welcome Guest, Not a member yet? Register   Sign In
how to send otp to two mobile numbers?

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.

You can put conditions when OTP ll generate.

For example,

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

Hope this example will help you.


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.

Theme © iAndrew 2016 - Forum software by © MyBB