PHP 飞信发送手机短信 (飞信)

zds168420 2008-11-14 11:40:35
请问下我是通过web 发送到手机短信的 利用飞信的开源 现在就是一个问题
我发给自己可以 但是我怎么样发给别人呢
...全文
1203 17 打赏 收藏 转发到动态 举报
写回复
用AI写文章
17 条回复
切换为时间正序
请发表友善的回复…
发表回复
any2mobile 2009-06-13
  • 打赏
  • 举报
回复
我们提供 飞信 COM 组件,你可试试 http://any2mobile.fh50.com/FetionCOMTrial.zip。更多信息请浏览:http://sites.google.com/site/any2mobile/
mywwl 2009-05-14
  • 打赏
  • 举报
回复
看看我做的飞信WebService接口吧
调用方便,可以实时收发飞信
详情请访问我的博客
http://blog.csdn.net/mywwl
也许对你有帮助
woolik218 2009-01-02
  • 打赏
  • 举报
回复
我也好想知道啊,这个行不行啊???
ttkttkttk 2009-01-02
  • 打赏
  • 举报
回复
也出现了“SIP-C/2.0 403 Forbidden”错误,楼上能指导指导吗?
Saboha 2009-01-01
  • 打赏
  • 举报
回复
为什么我发送的信息到手机上是乱码?有什么办法解决吗?谢谢。
fxs_2008 2008-12-16
  • 打赏
  • 举报
回复
飞信的开源了吗?
哪有接口,如何办理?
test22 2008-12-16
  • 打赏
  • 举报
回复
我缺少curl_init函数,哪位有
yongyuanjax 2008-12-16
  • 打赏
  • 举报
回复
我也想知道,飞信开源了???
zds168420 2008-11-14
  • 打赏
  • 举报
回复
是的 我加好友了啊
cxxlp 2008-11-14
  • 打赏
  • 举报
回复
人家也是飞信用户才行吧........
zds168420 2008-11-14
  • 打赏
  • 举报
回复
我改了啊 就是不行的 代码 如下
require_once('class.fetion.php');
$tophone=trim($_POST['tophone']);
$message=trim($_POST['message']);
$sms = new Fetion;
$sms->phone_num = trim($_POST['phone']);//$_CFG['sms_shop_mobile']
$sms->password = trim($_POST['fetion_password']) ;//$_CFG['sms_fetion_password']

$sms->sip_login();
$sms->sendSMS_toPhone($tophone,$message);//$_CFG['sms_shop_mobile']
$sms->sip_logout();

<form id="form1" name="form1" method="post" action="test.php">
<p>主要是给大家测试用的</p>
<p>请在下面填写上自己的手机号和飞信密码。这个页面只做测试用。</p>
<p>作者:zds</p>
<table width="432" height="151" border="0">
<tr>
<td width="96">手机号</td>
<td width="326" ><input type="text" name="phone" id="phone" /></td>
</tr>
<tr>
<td >飞信密码</td>
<td ><input type="password" name="fetion_password" id="fetion_password" /></td>
</tr>
<tr>
<td>发送方手机号</td>
<td ><input type="text" name="tophone" id="tophone" /></td>
</tr>
<tr>
<td >短信内容</td>
<td ><textarea name="message" id="message"></textarea>
*字符不要太多</td>

</tr>

<tr>
<td > </td>
<td ><input type="submit" name="button" id="button" value="提交" /></td>
</tr>
</table>
</form>

我怎么改他只可以发给自己的
penglewen 2008-11-14
  • 打赏
  • 举报
回复
把你自己的号码换成别人的号码。。
应该有接口说明的吧,参照上面改。。。。
iasky 2008-11-14
  • 打赏
  • 举报
回复
没有搞过
海诗美妆 2008-11-14
  • 打赏
  • 举报
回复
[Quote=引用 7 楼 zds168420 的回复:]
我测试的

[/Quote]

哈哈
zds168420 2008-11-14
  • 打赏
  • 举报
回复
我测试的
cxxlp 2008-11-14
  • 打赏
  • 举报
回复
你个猪。。下次不要在发到我的手机上....
zds168420 2008-11-14
  • 打赏
  • 举报
回复
string(133) "SIP-C/2.0 403 Forbidden T: tel:150******** I: 8 Q: 1 M D: Fri, 14 Nov 2008 06:01:05 GMT XI: a46d8f9a1d0b433a939f87697884b4cd "
我使用飞信怎么发信不行啊 php 语言

20,359

社区成员

发帖
与我相关
我的任务
社区描述
“超文本预处理器”,是在服务器端执行的脚本语言,尤其适用于Web开发并可嵌入HTML中。PHP语法利用了C、Java和Perl,该语言的主要目标是允许web开发人员快速编写动态网页。
phpphpstorm 技术论坛(原bbs)
社区管理员
  • 开源资源社区
  • phpstory
  • xuzuning
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧