0) { $text = "Your login OTP is $otp. Please DO NOT share it to anyone.\nGeenet communication."; $ch = curl_init(); $data = array( 'apikey' => '63eb1039d18ad', 'route' => 'trans', 'sender' => 'GNTOTP', 'mobileno' => $phone, 'text' => $text, ); $data = http_build_query($data); curl_setopt($ch, CURLOPT_POSTFIELDS, $data); curl_setopt($ch, CURLOPT_URL, "https://1.rapidsms.co.in/api/push.json?"); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_POST, 1); $output = curl_exec($ch); $update = "UPDATE `patient` SET `otp`='$otp' WHERE `phone` = '$phone'"; $update_query = mysqli_query($con, $update); ?>

User Sign in

Don't have an account?


Create Account

Phone number is not registered

User Sign in

Don't have an account?


Create Account
OTP Incorrect?

'; } ?>

User Sign in

Don't have an account?


Create Account