寒窗轩,寒川的个人网络博客,记录互联网事,学习网络编程、分享工作经验、人生感悟,包括但不限于程序代码、数据库、Office办公、随笔等内容。

我也发个飞信API接口发飞信短消息。

    目前Fetion APIji接口挺多的,自己鼓捣了半天,终于也弄了个API接口出来,欢迎大家使用。请勿用于非法勾当哦。。。。。
    API接口地址:http://fetion.huikon.cn/?mobile_no=******&pwd=******&to=******&msg=******说明:分别将“******”部分替换为你的手机号码、飞信密码、发送对象的手机号码(必须是你飞信好友)、发送的短信内容。本程序采用php编的,同时支持POST和GET两种参数传递形式。欢迎大家试用。。。。
html例子如下:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>飞信</title>
</head><body>
<form action="http://fetion.huikon.cn/ method="post" enctype="application/x-www-form-urlencoded" name="form1" id="form1">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
  <td width="34%" height="200">&nbsp;</td>
  <td width="66%">&nbsp;</td>
  </tr>
  <tr>
  <td align="right">Mobile No.:</td>
  <td><input type="text" name="mobile_no" id="mobile_no" /></td>
  </tr>
  <tr>
  <td align="right">PassWord:</td>
  <td><input type="password" name="pwd" id="pass" /></td>
  </tr>
  <tr>
  <td align="right">To:</td>
  <td><input type="text" name="to" id="to" /></td>
  </tr>
  <tr>
  <td align="right"></td>
  <td>SMS:<br /><textarea name="msg" id="msg" cols="45" rows="5">测试!</textarea></td>
  </tr>
  <tr>
  <td align="right" height="40">&nbsp;</td>
  <td><input type="submit" value=" 发送 " /><input type="reset" value=" 重置 " /></td>
  </tr>
</table>
</form>
</body>
</html>

当然,你还可以使用框架或其他方式隐藏提交后的地址。 
注意:此html例子中需要修改星号部分,且需采用utf-8编码,以免出现乱码。 
 

程序 2009-07-31 00:46:16 20 0 11491 编程fetionapi
文章写得不错?我是土豪我要在线打赏!
在线打赏

昵称:

验证码:验证码

评论:

文章分类
系统
程序
数据
Office
随笔
热门文章
企业安全管理者的福音:我发现了企安文档这个宝藏网站
文章推荐
免责声明
关于博主
开篇第一章
随机推荐
杭州惊现“一分男”,银行反复存取1分钱(转)
mysql命令导入导出.sql文件
excel无重复排序,如何提取排名前5的学生对应姓名
请问刷牙是用热水好还是冷水好啊?
pidgin飞信证书错误处理办法
从游戏到团结合作
Google will say no to China because of hackers attack gmail?
.htaccess重写标记含义
探析知识型员工管理模式
Google PR是否影响Google收录?
友情连接
春燕网络
谢润的博客
企安文库