-- 作者:dragonimp
-- 发布时间:5/13/2004 6:25:00 PM
-- 网站消息收发程序sitemsg
http://home.impx.net/sitemsg/sitemsg.rar SiteMsg使用说明 http://www.impx.net/sitemsg/使用说明.doc 服务器端程序得安装: conn.asp //数据库连接 md5.asp //md5加密 message.asp //获取消息列表 FMMessage.asp //消息操作文件(发送等) FMFriendList.asp //好友列表 Functions.asp //几个函数 message.mdb //数据库 把这几个文件放到你网站得某个目录,比如http://localhost/sitemsg/ 如果进一步,请往下看: 数据表字段结构: user表查询:username,password,homepage,oicq,useremail,userid Friendlist表查询:F_id,F_friend,oicq,Useremail,homepage,F_Addtime 结合到自己得网站: conn.asp跟message.mdb conn.asp就是数据库连接了,自己看看就知道了 message.mdb:就是建立两个查询user和friendlist,使得他们和上面得结构一致,如何查询当然是根据你原来网站得数据库结构. 结合动网论坛: 当时我还在西二论坛当管理员,所以开始就是为动网得bbs写得.所以你只要改conn.asp就可以了,把数据库连接改到论坛得就可以了. 自己开发其他语言得服务器端程序: 如果你要其他语言,请参考:网站短消息客户端及服务器端开发说明.doc 可能有点旧,你可以直接看生成得结构. 以上是服务器程序,客户端配置请看下一页. 客户端得安装(这个你要告诉你得客户): sitemsg.exe //可执行文件 config.xml //配置文件 修改config.xml文件,就是把下面红色字体部分得网址,修改成你自己网站得对应网址 <?xml version="1.0" encoding="gb2312"?> <msg Author="dragonimp" Version="0.1" PublishDate="2003-5-31"> <Copyright> <author>dragonimp</author> <QQ>68644353</QQ> <Email>dragonimp@163.com</Email> </Copyright> <site id="1"> <name>SiteMsg测试端</name> <HomeUrl>http://localhost/msg/</HomeUrl> <MsgBoxUrl>http://localhost/msg/message.asp</MsgBoxUrl> <MessageUrl>http://localhost/msg/fmmessage.asp</MessageUrl> <FriendListUrl>http://localhost/msg/fmfriendlist.asp</FriendListUrl> <Note>福州大学计算机系2001级5班</Note> </site> <sites id="0"> <site id="0"> <name>SiteMsg测试端</name> <HomeUrl>http://localhost/msg/</HomeUrl> <MsgBoxUrl>http://localhost/msg/message.asp</MsgBoxUrl> <MessageUrl>http://localhost/msg/fmmessage.asp</MessageUrl> <FriendListUrl>http://localhost/msg/fmfriendlist.asp</FriendListUrl> <Note>福州大学计算机系2001级5班</Note> </site> </sites> </msg> 运行sitemsg.exe 登陆: 收件箱: 其他自己看啦~~~~
|