我想通过向sohu 网关提交数据的方法发短信息
也就是http://sms.sohu.com/message/custsm.php
提交的页面好像是:http://sms.sohu.com/message/scsend.php
我执行的过程:
var
s:string;
begin
s:=s+'usernumber='+edtUsernumber.Text+'&password='+edtPassword.Text;
s:=s+'&tonumber1='+edtTonumber.Text+'&message=ComFromSohu';
NMhttp.Get('http://sms.sohu.com/message/scsend.php?'+s);
end;
返回提交成功,但是就是收不到短信,请高手指点一下!
也就是http://sms.sohu.com/message/custsm.php
提交的页面好像是:http://sms.sohu.com/message/scsend.php
我执行的过程:
var
s:string;
begin
s:=s+'usernumber='+edtUsernumber.Text+'&password='+edtPassword.Text;
s:=s+'&tonumber1='+edtTonumber.Text+'&message=ComFromSohu';
NMhttp.Get('http://sms.sohu.com/message/scsend.php?'+s);
end;
返回提交成功,但是就是收不到短信,请高手指点一下!
解决方案 »
- Flash中的as脚本的readutfbytes在delphi中是什么函数?
- 小弟求MsComm串口通信的简单测试例子!在线。高手帮忙!
- 关于 EXCEL 图表操作问题
- 急急急急急急急急!QRPreview的刷新问题,
- 我在重裝系統後編譯原來的程式出現以下錯誤,請教怎麼解決?
- 新手问题!!!!
- delphi如何读取xml中的记录
- verycd提前关了?
- 哪里可以找到可以制作类似MS outlook左边菜单的控件??
- 怎样在编程得到ADO支持的所有数据库 Provider.
- 要使子窗体没有标题栏,但在主窗体标题栏中能在子窗体的信息(如caption)该怎么做?
- 在win2000中不能打印大于A4的报表,谁有办法解决.
ss:=nmhttp1.Body ;
nmhttp1.Disconnect ;
s:string;
begin
s:='' s:=s+'usernumber='+edtUsernumber.Text+'&password='+edtPassword.Text;
s:=s+'&tonumber1='+edtTonumber.Text+'&message=ComFromSohu';
NMhttp.post('http://sms.sohu.com/message/scsend.php',s);
memo1.text:=nmHttp.text;
end;
还是不行?有没有人发送成功过?
但是NMhttp.post 返回成功的信息
是不是nmhttp 有什么设置?
请指迷津!1000分
<form name=formscsend action=scsend.php method=post
onsubmit="return Validate(this);">点击“发送”应该是POST到scsend.php这个页面http://sms.sohu.com/message/scsend.php