在windows系统下的PHP.txt 415 B

123456789101112131415161718
  1. <?php
  2. $uid="test" //分配给你的账号
  3. $pwd="123456" //密码
  4. $mob="13928783309,13800008888" //发送号码用逗号分隔
  5. $content="你好短信内容" //短信内容
  6. //===========================
  7. $sendurl="http://service.winic.org/sys_port/gateway/?id=".$uid."&pwd=".$pwd."&to=".$mob."&content=".$content."&time="
  8. $xhr=new COM("MSXML2.XMLHTTP");
  9. $xhr->open("GET",$sendurl,false);
  10. $xhr->send();
  11. echo $xhr->responseText ;
  12. ?>