更新时间:2023-12-04 14:54:38
抱歉打扰各位.我已经自己修好了 :) .我删除了 urlencode();来自 ChikkaSMS.php 文件 :)
Good Day to all of you. I have a problem in Chikka SMS API I downloaded the script from github and I tried to run it and it was successful. I received the message but the problem is spaces and other characters are encoded.
This is the code that I used
<?php
include('ChikkaSMS.php');
$clientId = 'xxxxx';
$secretKey = 'xxxxxx';
$shortCode = 'xxxxxx';
$chikkaAPI = new ChikkaSMS($clientId,$secretKey,$shortCode);
$response = $chikkaAPI->sendText('UNIQUEMESSAGEID', 'MOBILENUMBER', 'YOURMESSAGE');?>
Sorry guys if I disturbed you. I already fixed by my self :) . I removed the urlencode(); from the ChikkaSMS.php file :)