Hello, I would like to use the local SMS gateway in my country because all other gateways are delayed in sending messagesThe portal link I want to use is https://smsgw.netIs there a way to use it?
Ues it is possible.
// RING CAPTCHA } else if ($provider == 'ringcaptcha') { $data = array('api_key' => sms_param('ringcaptcha_api_key'), 'phone' => $phone_number, 'message' => $message); $string = http_build_query($data, '', '&'); $url = 'https://api.ringcaptcha.com/' . sms_param('ringcaptcha_app_key') . '/sms'; $ch = curl_init($url); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_POSTFIELDS, $string); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_HTTPHEADER, array('application/x-www-url-encoded; charset=utf-8')); $response = curl_exec($ch); $error = (curl_errno($ch) ? curl_error($ch) : false); curl_close($ch);