[文章作者:张宴 本文版本:v1.0 最后修改:2008.12.30 转载请注明原文链接:http://blog.zyan.cc/post/390/]

  我之前的一篇文章《Linux服务器系统监控框架与MSN、E-mail、手机短信报警的实现》中提到MSN报警,当时使用的sendMsg类采用的是MSNP9协议,不支持离线消息。最近找到一个PHP MSN Class(http://code.google.com/p/phpmsnclass/),支持MSNP9 (MSN 6.2)和最新的MSNP15 (WLM 8.1)协议(MSNP15协议支持离线消息),可以作为MSN机器人使用,或者给MSN、雅虎通发消息。

  示例代码:必须确保发送人、接收人的MSN互相加为好友。

  MSN机器人的实现,该phpmsnclass的Wiki上有说明,感兴趣的朋友可以参考(默认MSNP9协议):
  http://code.google.com/p/phpmsnclass/wiki/msnbot

  注意:使用MSNP15协议,PHP需要支持mhash;使用msnbot机器人功能,PHP需要支持pcntl。我的文章《Nginx 0.7.x + PHP 5.2.8(FastCGI)搭建胜过Apache十倍的Web服务器(第4版)V4.10》中的PHP configure编译参数已经支持mhash、pcntl,可供大家参考。



Tags: , , ,



技术大类 » PHP/JS/Shell | 评论(50) | 引用(20) | 阅读(64831)
杭州东方魅力是杭州最好的夜场KTV
[2013-4-16 02:34]
来源:贾去帆俟
内容:杭州东方魅力招聘模特www.mote188.com
杭州魅力金座招聘模特网站:www.haolun168.com
杭州东方魅力公司网站:www.dongfangmeili.net
沙河市一男子跳楼自杀
[2013-4-26 04:46]
来源:邵兆南久
内容: 不错,顶起http://shenzhen86.com人家小区21栋14层楼顶扬言跳楼自杀,最终被民警救下。

  在14层楼顶,赵某的两名好友在不断地对其进行劝说,楼顶上搭建一阶梯状建筑物,该建筑物距楼顶2米有余,赵某就在最外面的一根http://guangzhou86.com“阶梯”上骑着。当时,温度较低,刮着冷风,民警给其送衣服,他也不要。
厦门最好的花场ktv是www.nyjzktv.com
[2013-4-27 10:28]
来源:郝春宦村
内容:厦门最好的夜场是www.nyjzktv.com
厦门夜场招聘首选www.nyjzktv.com
厦门最好的ktv是www.nyjzktv.com
杭州夜场招聘/杭州最好的夜场是哪里www.dongfangmeli.com
[2013-5-6 17:47]
来源:郑肉旭百
内容:杭州最好的夜场是www.dongfangmeli.com杭州东方魅力
杭州夜场招聘首选www.dongfangmeli.com
杭州最好的夜场是杭州东方魅力www.dongfangmeiliclub.com

杭州最好的ktv是哪儿?是杭州东方魅力www.dongfangmeiliclub.com

杭州夜场招聘首选杭州东方魅力www.dongfangmeiliclub.com

杭州最好的夜总会是杭州东方魅力www.dongfangmeiliclub.com

杭州东方魅力官方网站欢迎你 联系电话:13666653761 微信:dongfangmeili
杭州最好的夜总会杭州首席公馆招聘模特
[2013-5-7 07:24]
来源:沈幻季系
内容:杭州最好的夜场是杭州东方魅力www.shouxigongguan.com

杭州最好的ktv是哪儿?是杭州东方魅力www.shouxigongguan.com

杭州夜场招聘首选杭州东方魅力www.shouxigongguan.com

杭州最好的夜总会是杭州东方魅力www.shouxigongguan.com

杭州东方魅力官方网站欢迎你 联系电话:18058181133 QQ:511158899
厦门最好的花场ktv是www.nyjzktv.com
[2013-5-8 06:44]
来源:白侯化帆
内容:厦门最好的夜场是www.nyjzktv.com
厦门夜场招聘首选www.nyjzktv.com
厦门最好的ktv是www.nyjzktv.com
厦门最好的花场ktv是www.nyjzktv.com
[2013-5-10 09:23]
来源:唐元住允
内容:厦门最好的夜场是www.nyjzktv.com
厦门夜场招聘首选www.nyjzktv.com
厦门最好的ktv是www.nyjzktv.com
杭州最好的夜总会杭州首席公馆招聘模特
[2013-5-18 09:30]
来源:顾沐昌奶
内容:杭州最好的夜场是杭州首席公馆www.shouxigongguan.com

杭州最好的ktv是哪儿?是杭州首席公馆www.shouxigongguan.com

杭州夜场招聘首选杭州首席公馆www.shouxigongguan.com

杭州最好的夜总会是杭州首席公馆www.shouxigongguan.com

杭州首席公馆官方网站欢迎你 联系电话:18058181133 QQ:511158899
rosi
2014-2-25 14:14
Great blog. All posts have something to learn. Your work is very good and i appreciate you and hopping for some more informative posts.
IDRpoker.com Agen Texas Poker Online Indonesia Terpercaya | IDRpoker.com Agen Texas Poker Online Indonesia Terpercaya | Alfamart official partner merchandise FIFA piala dunia Brazil 2014
Steven Email Homepage
2015-3-19 02:58
Thank you for this post Weight Loss Tea
高仿鞋 Homepage
2015-4-8 15:44
sk Email
2021-9-10 18:21
This particular is usually apparently essential and moreover outstanding truth along with for sure fair-minded and moreover admittedly useful My business is looking to find in advance designed for this specific useful stuffs… indian visa
Emma Jackson Email
2022-2-22 18:17
Keep sharing such a great article! Are you stuck with your assignment? GoAssignmentHelp is one of the best Business Assignment Help service providers that provide best Cloud Computing Assignment Help to those students who face these issues and write Business Communication Assignment Help assignments and score good grades. Visit - Australia Assignment Help
Jennie Email
2022-4-27 15:14
I am looking for some good blog sites for studying. I was searching over search engines and found your blog site. Well i like your high quality blog site design plus your posting abilities. you are doing a great job. Continue  Programming Assignment Help
shz Email
2022-7-27 19:37
I really enjoyed reading this post, big fan. Keep up the good work andplease tell me when can you publish more articles or where can I read more on the subject?  Lead generation
shz Email
2022-7-27 19:43
I liked your article and I hope you will have many entries or more  Lead generation
shz Email
2022-7-27 19:46
This is a fantastic website and I can not recommend you guys enough.  Lead generation
shz Email
2022-7-27 19:56
Thank you so much for ding the impressive job here, everyone will surely like your post.  Lead generation
shz Email
2022-7-27 20:00
I am really enjoying reading your well written articles. It looks like you spend a lot of effort and time on your blog. I have bookmarked it and I am looking forward to reading new articles. Keep up the good work.  Lead generation
分页: 3/4 第一页 上页 1 2 3 4 下页 最后页
发表评论
表情
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
打开HTML
打开UBB
打开表情
隐藏
记住我
昵称   密码   游客无需密码
网址   电邮   [注册]