Upload Code
loading-left
loading loading loading
loading-right

Loading

Profile
No self-introduction
codes (1)
Discuz integrated with alicloud SMS
no vote
<?phpclass aliyun_ sms {public static function SendSms($string, $phone, $TemplateCode) {global $_ G. $params = array(); / / / part to be filled in by user https://ak-console.aliyun.com/ Get your AK information $accesskeyid =$_ G['aliyun']['accesskeyid'];$accessKeySecret = $_ G ['aliyun '] ['accesskeysecret']; / / fixme required: SMS receiving number $params [& quot; phonenumbers & quot;] = $phone; / / fixme required: SMS signature, which should be filled in strictly according to & quot; signature name & quot;, please refer to: https://dysms.console.aliyun.com/dysms.htm#/develop/sign $params["SignName"] = $_ G ['aliyun '] ['signname']; / / fixme required: SMS template code, which should be filled in strictly according to & quot; template code & quot; please refer to: https://dysms.console.aliyun.com/dysms.htm#/develop/template $params [& quot; templatecode & quot;] = $templatecode; / / fixme optional: set template parameters. If there are variables in the template that need to be replaced, it is a required item $params ['templateparam '] = $string; //Fixme optional: set SMS serial number / $params ['out
xiangyu213.
2018-01-18
0
1
No more~