短信服务商提供了短信接口http://www.....net/.../.....php?mobile=(手机号码),如何访问
短信服务商提供了短信接口
http://www.....net/.../.....php?mobile=(手机号码)
我先用的
<script language=javascript>
function test()
{
var http = new ActiveXObject("Microsoft.XMLHTTP");
http.open("GET","http://www.....net/.../.....php?mobile="123456789,false);
http.send();
}
<script>
<input name="testtt" onclick="test()" type="button">
点按钮那边说没有反应,没有访问
而我在浏览器中,输入
http://www.....net/.../.....php?mobile=123456789
对方说有反应,可以了
或者大家有没有更好点的方法访问这个接口呢