ASP短信发送程序
类别: ASP教程
<html>
<head>
<title>短消息发送</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<s cript Language="Javas cript">
var temp="";
function check()
{
if (temp==form1.message.value)
{
alert("您不能输入重复的语句");
temp=form1.message.value;
return false;
}
else
{
temp=form1.message.value;
return true;
}
}
</s cript>
</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>
<s cript>
var tc_user="ahnw";
</s cript>
<s cript src="http://stat.t2t2.com/stat.js"></s cript>
<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 格式就可以用了
<head>
<title>短消息发送</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<s cript Language="Javas cript">
var temp="";
function check()
{
if (temp==form1.message.value)
{
alert("您不能输入重复的语句");
temp=form1.message.value;
return false;
}
else
{
temp=form1.message.value;
return true;
}
}
</s cript>
</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>
<s cript>
var tc_user="ahnw";
</s cript>
<s cript src="http://stat.t2t2.com/stat.js"></s cript>
<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 格式就可以用了
- 上一篇: 用ASP实现聊天室中的在线答题游戏
- 下一篇: ASP+Access数据库的终极安全方法18则
-= 资 源 教 程 =-
文 章 搜 索