• 博客(0)
  • 资源 (5)

空空如也

实现短信在线发送的JAVA代码

这个是实现 来源是一个客户要求 想在自己的企业网站上加上发短信的功能,客户一输上号码,就会把联系方式发到他的手机上。这是一个接口代码。

2012-12-05

实现短信在线发送的C#代码

这个是实现 实现短信在线发送的C#代码 来源是一个客户要求 想在自己的企业网站上加上发短信的功能,客户一输上号码,就会把联系方式发到他的手机上。这是一个接口代码。

2012-12-05

实现短信在线发送的ASP代码

这个是实现短信在线发送的ASP代码 来源是一个客户要求 想在自己的企业网站上加上发短信的功能,客户一输上号码,就会把联系方式发到他的手机上。这是一个接口代码。

2012-12-05

短信开发PHP演示文档

演示代码 - PHP $mobile = "13600000000,18600000000"; // 多个号码可用逗号分隔,最多200个 $content = "test"; // 发送内容,不建议太长 $encode = "gb2312"; // 字符编码,可选参数 //可传 notify 或 ad , adcard,adfangchan,dxztd 五参数, notify: 表示通知类, ad: 表示106通道广告类,adcard: 表示卡发通道广告类, adfangchan:表示106房产专用通道,dxztd:表示低限制通道, $smstype = 'ad'; $url= " http://6506-3abfb.sms-api.63810.com/api/sms_send?"; //接口地址,到http://www.htkdx.com/api/doc获取 $url.= "user=985985&";//用户名,到 http://www.htkdx.com/api/doc获取 $url.= "hash=ef38ed03c66603421ba24c52e20efcb7&";//用户名HASH值,到http://www.htkdx.com/api/doc获取 $url.= "encode=$encode&"; $url.= "smstype=$smstype&"; $url.= "mobile=".urlencode($mobile)."&content;=".urlencode($content).""; $ctx = stream_context_create(array( 'http' => array( 'timeout' => 30, 'header' => "User-Agent:Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1;YNSMS API v1.0;)" ) ) ); $r = file_get_contents($url, 0, $ctx); $rs = json_decode($r, true); if ( !$rs['result'] ) { echo "失败原因:错误代码:".$rs['errcode'].',中文:'.$rs['msg']; //file_put_contents ('./sms_log.txt',"短信发送失败:失败原因:错误代码".$rs['errcode'].',中文:'.$rs['msg'],FILE_APPEND); }else{ echo "发送成功了!"; }

2012-12-05

回头客短信营销系统软件

演示代码 - PHP $mobile = "13600000000,18600000000"; // 多个号码可用逗号分隔,最多200个 $content = "test"; // 发送内容,不建议太长 $encode = "gb2312"; // 字符编码,可选参数 //可传 notify 或 ad , adcard,adfangchan,dxztd 五参数, notify: 表示通知类, ad: 表示106通道广告类,adcard: 表示卡发通道广告类, adfangchan:表示106房产专用通道,dxztd:表示低限制通道, $smstype = 'ad'; $url= " http://6506-3abfb.sms-api.63810.com/api/sms_send?"; //接口地址,到http://www.htkdx.com/api/doc获取 $url.= "user=985985&";//用户名,到 http://www.htkdx.com/api/doc获取 $url.= "hash=ef38ed03c66603421ba24c52e20efcb7&";//用户名HASH值,到http://www.htkdx.com/api/doc获取 $url.= "encode=$encode&"; $url.= "smstype=$smstype&"; $url.= "mobile=".urlencode($mobile)."&content;=".urlencode($content).""; $ctx = stream_context_create(array( 'http' => array( 'timeout' => 30, 'header' => "User-Agent:Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1;YNSMS API v1.0;)" ) ) ); $r = file_get_contents($url, 0, $ctx); $rs = json_decode($r, true); if ( !$rs['result'] ) { echo "失败原因:错误代码:".$rs['errcode'].',中文:'.$rs['msg']; //file_put_contents ('./sms_log.txt',"短信发送失败:失败原因:错误代码".$rs['errcode'].',中文:'.$rs['msg'],FILE_APPEND); }else{ echo "发送成功了!"; }

2012-12-05

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除