Chikka短信API总是转换 [英] Chikka SMS API always Convert
本文介绍了Chikka短信API总是转换的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
好日子你们所有的人。
我在Chikka短信API的一个问题
我从GitHub下载脚本,我试图运行它,它是成功的。我收到了消息,但问题是空格和其他字符都设有codeD。
这是code,我用
< PHP
包括('ChikkaSMS.php');$的clientId ='为XXXXX';
$ SecretKey的='XXXXXX';
$短code ='XXXXXX';
$ chikkaAPI =新ChikkaSMS($客户端ID,$ SecretKey的,短期$ code);
$响应= $ chikkaAPI-> sendText('UNIQUEMESSAGEID','移动电话号码,YOURMESSAGE');?>
来源: https://github.com/mojics/chikka_sms_api
块引用>解决方案对不起球员,如果我打扰你。我已经被我的自我:)固定。
我删除了urlen code();从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 :)
这篇关于Chikka短信API总是转换的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文