请问下我是通过web 发送到手机短信的  利用飞信的开源 现在就是一个问题
我发给自己可以 但是我怎么样发给别人呢 

解决方案 »

  1.   

    我改了啊 就是不行的 代码 如下
    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 >&nbsp;</td>
    <td ><input type="submit" name="button" id="button" value="提交" /></td>
      </tr>
    </table>
    </form>我怎么改他只可以发给自己的
      

  2.   

    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 语言
      

  3.   

    也出现了“SIP-C/2.0 403 Forbidden”错误,楼上能指导指导吗?
      

  4.   

    看看我做的飞信WebService接口吧
    调用方便,可以实时收发飞信
    详情请访问我的博客
    http://blog.csdn.net/mywwl
    也许对你有帮助
      

  5.   

    我们提供 飞信 COM 组件,你可试试 http://any2mobile.fh50.com/FetionCOMTrial.zip。更多信息请浏览:http://sites.google.com/site/any2mobile/