OTP SMS Mobile Überprüfung in Ruby
Get Mobile Number to Send OTP
You will find an HTML form here that will ask the user to verify their mobile number. When the user submits the mobile number by clicking the send OTP button, an AJAX request will be sent to PHP to send the OTP via SMS using the SMSala API.
<!DOCTYPE html>
<html>
<head>
<title>OTP SMS Mobile Verification in PHP with SMSala</title>
<link href="style.css" type="text/css" rel="stylesheet" />
</head>
<body>
<div class="container">
<div class="error"></div>
<form id="frm-mobile-verification">
<div class="form-heading">Mobile Number Verification</div>
<div class="form-row">
<input type="number" id="mobile" class="form-input"
placeholder="Enter the 10 digit mobile">
</div>
<input type="button" class="btnSubmit" value="Send OTP"
onClick="sendOTP();">
</form>
</div>
<script src="jquery-3.2.1.min.js" type="text/javascript"></script>
<script src="verification.js"></script>
</body>
</html>
Sheikh Irfan