<?php
require_once 'curl.func.php';
$appkey = 'your_appkey_here';//你的appkey
$mobile = '13556811111,13556811112';//手机号 超过1024请用POST
$content = '用户您好。【极速数据】';//utf8
$url = "https://api.jisuapi.com/sms/send?appkey=$appkey&mobile=$mobile&content=$content";
$result = curlOpen($url, ['ssl'=>true]);
$jsonarr = json_decode($result, true);
//exit(var_dump($jsonarr));
if($jsonarr['status'] != 0)
{
echo $jsonarr['msg'];
exit();
}
$result = $jsonarr['result'];
echo $result['count'].' '.$result['accountid'].'
';