⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 smartsms_back.asp

📁 短信平台 短信平台 短信平台
💻 ASP
字号:
<HTML><title>发送成功!</title>
<BODY BGCOLOR="white">

<h1><i><u>WEB</u></i><font face="宋体" size="5">短消息:短消息发送</font></h1>
<HR>
<p>
  <%
    SendNumber=request("SenderNumber")
	Message=request("message")
	
	if Sendnumber="" or message="" then errmsg="<li>各项均不能为空!"
	if len(message)>140 then errmsg=errmsg+"<li>短信内容超长,请查检!"
    
	if instr(sendnumber,",")>0 then
	   phone=split(sendnumber,",")
	   for i=0 to ubound(phone)
	       if left(phone(i),2)<>"13" or len(phone(i))<>11 or not isnumeric(phone(i)) then
		      errmsg=errmsg+"<li>在输入多个手机号时出错,请检查!"
			  exit for
		   end if
	   next		
	else
        if left(sendnumber,2)<>"13" then  errmsg=errmsg+"<li>手机号必须以13开头,请检查!"
        if len(sendnumber)<11 then errmsg=errmsg+"<li>手机号不够11位,请检查!"
		if not  isnumeric(sendnumber) then  errmsg=errmsg+"<li>手机号出现了非数字字符,请检查!"
	end if
	
	if errmsg<>"" then
	   response.Write(errmsg)
	   response.Write("<a href='javascript:window.history.back();'>返回</a>")
	   response.End()
	end if
	
	if isarray(phone) then
	   for i=0 to ubound(phone)%>
	    <script>
		send.window.location.href=("210.51.0.191/mt/SendServlet?dstmobile="+""+"&feemobile=13911670054&msg=cp合作方自行填写的信息内容,请屏蔽敏感字眼。 &svcode=ZX004&spnum=33152005&cp_id=test&cp_pass=test&ip=127.0.0.1&union_id=123&item_id=123&link_id=123&msg_id=123&backurl=http://www.sina.com");</script>
	   
	   <%next
	
	else
	
	
	end if	
	
		'response.write "您的消息已经成功发出,谢谢您的使用!"
		'response.write "您的消息没有发出,请您仔细检查你的设置." 
%>
</p>
<p>&nbsp;</p>
<p><iframe src="send_page.asp" name="send" id="send"  width="780"></iframe>&nbsp;</p>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -