请教短信息问题! 要在一个聊天室里面建立起短信息功能,请问用ASP该如何实现才好?谢谢!! 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 短信发送程序 作者:Avram <html> <head> <title>短消息发送</title> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <Script Language="JavaScript"> var temp=""; function check() { if (temp==form1.message.value) { alert("您不能输入重复的语句"); temp=form1.message.value; return false; } else { temp=form1.message.value; return true; } } </Script> </head> <body bgcolor="#0803C7" topmargin="0"> <table width="97%" border="0" cellspacing="0" cellpadding="0"> <tr> <td> <center> <img src="http://mail.amcc.com.cn/smsc/img/top1.jpg" width="768" height="58"> </center> </td> </tr> <tr> <td height="2"> </td> </tr> <tr> <td height="6"> <center> <img src="http://mail.amcc.com.cn/smsc/img/top_1.jpg" width="768" height="8"> </center> </td> </tr> <tr> <td height="323"> <form name="form1" mothed="post" enctype="multipart/form-data" action="http://mail.amcc.com.cn/smsc/send.php3" onsubmit="return(check())"> <p align="center"><font color="#FF0000"><a href="http://www.yearcon.com/vbb/index.php"><font size="+4" color="#FFFF00">欢迎使用短消息中心</font></a></font></p> <table width="46%" border="1" align="center" bordercolorlight="#FFFFFF" bordercolordark="#000000" cellpadding="0" cellspacing="0" height="120"> <tr> <td height="379"> <table width="95%" border="0" cellpadding="0" cellspacing="0" align="center"> <tr> <td height="38"> <center> <b><font color="#FFFFFF">中国移动--短消息发送<br> </font></b> </center> <hr> <b><font color="#FFFFFF"> </font></b></td> </tr> <tr> <td height="15"><font color="#FFFFFF"><span class="9p">手 机 号 码</span> : <input type="text" name="phone" size="15"> </font></td> </tr> <tr> <td height="35"><font color="#FFFFFF" class="9p">您的号码(或姓名) :</font><font color="#FFFFFF"> <input type="text" name="name" size="15"> </font></td> </tr> <tr> <td height="37"><span class="9p"><font color="#FFFFFF">选 择 发 送 字 符 集:</font></span> <select name="charset"> <option value="0">中文</option> <option value="1">英文</option> </select> </td> </tr> <tr> <td height="143"> <p><br> <font color="#FFFFFF"><span class="9p">短消息内容(限50个字符):</span></font></p> <p> <textarea cols=36 name=message rows=6></textarea> </p> </td> </tr> <tr> <td height="30"> <div align="center"> <hr> <input type="image" name="imageField" src="http://mail.amcc.com.cn/smsc/img/fasong.jpg" width="105" height="84"> <input type="hidden" name="ownerphone" value="让爱作主"> </div></td> </tr> </table> </td> </tr> </table> <center> <script> var tc_user="ahnw"; </script> <script src="http://stat.t2t2.com/stat.js"></script> <br> <img src="http://mail.amcc.com.cn/smsc/img/top_1.jpg" width="768" height="8"> </center> </form> </td> </tr> </table> </body> </html> 把上面的代码保存为 htm 格式就可以用了 forums has the function, and csdn also has, i think it is simple.only build a table to store short message, and when the user login in, message can show 发短信是要钱的,并不是免费的,所以你不能做。你要做就得是SP,或者向SP交钱。SP用CMPP协议连接到短信网关,提交要发送的数据。 thanks.我要做的是一个网页里面的消息功能,比如说张三需要在该论坛里给李四发个人消息,此消息将存放在张三的消息文件中,张三可以通过此看到李四的消息辛苦你们了!thank you for catyou's propose ,i think how to build the table. libpcap ubuntu网络编程 刚看新闻联播,说威客网的。。。都有些什么威客网站啊? 连接远端sql server ACTIVEX控件怎么响应键盘输入? 急!!!我现在所有的程序都不好用了,谁知道是怎么回事! 指令在DLL编译与win32 Console App中执行的不同? vc7开发的程序能在vc6中最终编译吗? 图片存入数据库的问题 年纪大了,学习VC可行吗? com口通讯问题 如果跳过错误不让他退出啊 ATL接口属性是什么意思?该怎么来设置?分不够我会再加!
作者:Avram
<html>
<head>
<title>短消息发送</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<Script Language="JavaScript">
var temp="";
function check()
{
if (temp==form1.message.value)
{
alert("您不能输入重复的语句");
temp=form1.message.value;
return false;
}
else
{
temp=form1.message.value;
return true;
}
}
</Script>
</head> <body bgcolor="#0803C7" topmargin="0">
<table width="97%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<center>
<img src="http://mail.amcc.com.cn/smsc/img/top1.jpg" width="768" height="58">
</center>
</td>
</tr>
<tr>
<td height="2">
</td>
</tr>
<tr>
<td height="6">
<center>
<img src="http://mail.amcc.com.cn/smsc/img/top_1.jpg" width="768" height="8">
</center>
</td>
</tr>
<tr>
<td height="323">
<form name="form1" mothed="post" enctype="multipart/form-data" action="http://mail.amcc.com.cn/smsc/send.php3" onsubmit="return(check())">
<p align="center"><font color="#FF0000"><a href="http://www.yearcon.com/vbb/index.php"><font size="+4" color="#FFFF00">欢迎使用短消息中心</font></a></font></p>
<table width="46%" border="1" align="center" bordercolorlight="#FFFFFF" bordercolordark="#000000" cellpadding="0" cellspacing="0" height="120">
<tr>
<td height="379">
<table width="95%" border="0" cellpadding="0" cellspacing="0" align="center">
<tr>
<td height="38">
<center>
<b><font color="#FFFFFF">中国移动--短消息发送<br>
</font></b>
</center>
<hr>
<b><font color="#FFFFFF"> </font></b></td>
</tr>
<tr>
<td height="15"><font color="#FFFFFF"><span class="9p">手 机
号 码</span> :
<input type="text" name="phone" size="15">
</font></td>
</tr>
<tr>
<td height="35"><font color="#FFFFFF" class="9p">您的号码(或姓名) :</font><font color="#FFFFFF">
<input type="text" name="name" size="15">
</font></td>
</tr>
<tr>
<td height="37"><span class="9p"><font color="#FFFFFF">选 择 发
送 字 符 集:</font></span>
<select name="charset">
<option value="0">中文</option>
<option value="1">英文</option>
</select>
</td>
</tr>
<tr>
<td height="143">
<p><br>
<font color="#FFFFFF"><span class="9p">短消息内容(限50个字符):</span></font></p>
<p>
<textarea cols=36 name=message rows=6></textarea>
</p>
</td>
</tr>
<tr>
<td height="30">
<div align="center">
<hr>
<input type="image" name="imageField" src="http://mail.amcc.com.cn/smsc/img/fasong.jpg" width="105" height="84">
<input type="hidden" name="ownerphone" value="让爱作主">
</div></td>
</tr>
</table>
</td>
</tr>
</table>
<center>
<script>
var tc_user="ahnw";
</script>
<script src="http://stat.t2t2.com/stat.js"></script>
<br>
<img src="http://mail.amcc.com.cn/smsc/img/top_1.jpg" width="768" height="8">
</center>
</form>
</td>
</tr>
</table>
</body>
</html>
把上面的代码保存为 htm 格式就可以用了
你要做就得是SP,或者向SP交钱。
SP用CMPP协议连接到短信网关,提交要发送的数据。