关于短信息

peng_zhi 2004-07-13 03:09:54
谁有在ASP里发送手机的程序啊!谢谢
...全文
217 19 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
19 条回复
切换为时间正序
请发表友善的回复…
发表回复
sharing 2004-09-01
  • 打赏
  • 举报
回复
up
qinyang2 2004-08-23
  • 打赏
  • 举报
回复
希望和各位高手交流,我现在正在做一个短信息的网站,有更好的解决办法吗?
qinyang2 2004-08-23
  • 打赏
  • 举报
回复
<TABLE width="100%" border="0" cellspacing="0" cellpadding="0">
<TBODY>
<TR>
<TD align="right"><input onClick="if(CheckForm1(document.form2)){SpSendSms(document.form2, '17sky', '17sky2002');}" type=button value=发送 name=Submit2></TD>
<TD align="center">
<input type=reset value=重写 name=reset>
</TD>
<TD height="26">
<input onClick="SpRegSms(document.form2, '17sky', '17sky2002');" type=button value=注册 name="button">
</TD>
</TR>
</TBODY>
</TABLE>
qinyang2 2004-08-23
  • 打赏
  • 举报
回复
<META http-equiv="Content-Type" content="text/html; charset=gb2312">
<LINK rel="stylesheet" href="sms.css" type="text/css">
<SCRIPT language=JavaScript>
<!--
function isnum()
{
if(event.keyCode<48 || event.keyCode>57)
{
event.keyCode=0;
}
}
function CheckForm(theForm)
{
if (theForm.mobile.value.length != 11)
{
alert("接收手机号码长度不正确");
theForm.mobile.focus();
return false;
}

if (theForm.passwd.value.length == 0)
{
alert("请输入登录密码");
theForm.passwd.focus();
return false;
}

return true;
}
function CheckForm1(theForm)
{
if (theForm.text.value.length =="")
{
alert("请正确输入发送内容!");
theForm.text.focus();
return false;
}


return true;
}
function SpRegSms(theform, spname, sppwd)
{
// alert(spname + "|" + sppwd);
// return false;
win = window.open("about:blank","WEBSMS","left=100,top=50,height=400,width=510");
theform.action="http://www.pdainfo.com.cn/sms/regsms.php";
theform.name.value=spname;
theform.pwd.value=sppwd;
theform.target="WEBSMS";
theform.submit();
return false;
}

function SpSendSms(theform, spname, sppwd)
{
// alert(spname + "|" + sppwd);
// return false;
win = window.open("about:blank","WEBSMS","left=100,top=50,height=400,width=510");
theform.action="http://www.pdainfo.com.cn/sms/websms.php";
theform.name.value=spname;
theform.pwd.value=sppwd;
theform.target="WEBSMS";
theform.submit();
return false;
}

function sendsms(content)
{
url='song.asp?id='+content;
win = window.open(url,'newsms','top=50,left=100,width=350,height=260');
win.focus();
}

//-->
</SCRIPT>
xzyan80 2004-07-14
  • 打赏
  • 举报
回复
up
海大富运动 2004-07-14
  • 打赏
  • 举报
回复
up
银狐被占用 2004-07-14
  • 打赏
  • 举报
回复
得有相应的接口
xzyan80 2004-07-14
  • 打赏
  • 举报
回复
up
wanghr100 2004-07-14
  • 打赏
  • 举报
回复
这方面的贴子不少..

找短信网关营运商要接口,一般他们提供的是xml访问接口
然后直接调用.


新浪短信Web Service 作者:开心就好
http://blog.joycode.com/joy/posts/16939.aspx
lireng 2004-07-14
  • 打赏
  • 举报
回复
其实有一种办法是不需要找移动或者联通要网关的.就是买两台GSM类型的短信发送机,然后编写程序就行,但是ASP是不能写这样的东东的,你要用VB或者DELPHI写一个组件.
如果说要我给你说清楚的话,这可不是三下两下说得清楚的.你可以去找一本叫做<DELPHI串口编程技术>的书来好好的看看吧!
cuipi2003 2004-07-14
  • 打赏
  • 举报
回复
可以,用诺基亚或西门子的开发包,自己写com
fashchina 2004-07-14
  • 打赏
  • 举报
回复
需要接口
woderoom 2004-07-14
  • 打赏
  • 举报
回复
“在ASP里发送手机”??My god!
开个玩笑,需要短消息网关,直接提交到网关就可以了
ltjy 2004-07-13
  • 打赏
  • 举报
回复
UP
peng_zhi 2004-07-13
  • 打赏
  • 举报
回复
没有找到啊,
现在是要在我的网站上加一个发短信的功能,
在asp里怎么加。
ltjy 2004-07-13
  • 打赏
  • 举报
回复
我也正在找,希望那也能给我一份
lixin.01@163.com
baby21st 2004-07-13
  • 打赏
  • 举报
回复
在本版中搜索一下先~
5400 2004-07-13
  • 打赏
  • 举报
回复
请详细点说明。。
dingdi 2004-07-13
  • 打赏
  • 举报
回复
up

28,407

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧