a
This commit is contained in:
parent
090f868c06
commit
1e2294a560
|
|
@ -99,15 +99,20 @@ class ControleurAjaxtesterdisponiblitesms extends Controleur {
|
|||
|
||||
public function envoyersmsesicia($destinataires_c, $message_c)
|
||||
{
|
||||
$loginSms = $this->loginSms;
|
||||
$motPassSms = $this->motPassSms;
|
||||
|
||||
// problème avec le https
|
||||
$loginSms = $this->loginSms;
|
||||
$motPassSms = $this->motPassSms;
|
||||
$url = "http://gateway.esicia.com/sendsms/?";
|
||||
|
||||
/*
|
||||
$loginSms = "radiantapi";
|
||||
$motPassSms = "9p1s9w7t";
|
||||
$url = "https://sms.esicia.africa/?";
|
||||
*/
|
||||
|
||||
$postFields = array
|
||||
(
|
||||
'ohereza' =>'Radiant',
|
||||
// 'ohereza' =>'Radiant',
|
||||
'ohereza' =>'RADIANT',
|
||||
'kuri' =>$destinataires_c,
|
||||
'ubutumwa' =>$message_c,
|
||||
// 'client' =>'radiant',
|
||||
|
|
|
|||
|
|
@ -156,18 +156,15 @@ class Cronenvoisms
|
|||
$loginSms = $this->loginSms;
|
||||
$motPassSms = $this->motPassSms;
|
||||
|
||||
// problème avec le https
|
||||
$url = "http://gateway.esicia.com/sendsms/?";
|
||||
// $url = "http://gateway.esicia.com/sendsms/?";
|
||||
// 24/04/2026
|
||||
$url = "https://sms.esicia.africa/?";
|
||||
|
||||
$postFields = array
|
||||
(
|
||||
'ohereza' =>$titreSms_c,
|
||||
'kuri' =>$destinataires_c,
|
||||
'ubutumwa' =>$message_c,
|
||||
|
||||
// 'client' =>'radiant',
|
||||
// 'password' =>'umugozi',
|
||||
|
||||
'client' =>$loginSms,
|
||||
'password' =>$motPassSms,
|
||||
'msgid' =>'kanesin'
|
||||
|
|
@ -180,9 +177,6 @@ class Cronenvoisms
|
|||
$result = file_get_contents($url);
|
||||
|
||||
$this->marquersms($this->idSms, "1");
|
||||
|
||||
// A SUPPRIMER
|
||||
// var_dump($result);
|
||||
}
|
||||
|
||||
public function envoyersmshooza($destinataires_c, $message_c, $titreSms_c)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user