海外邮件中继,海外退信中继,美国高速VPS,不限流量VPN,邮局维护和管理,邮件网关,EMOS邮件中继,POSTFIX邮件中继,Winwebmail邮件中继,Winmail邮件中继,DBMail邮件中继,JDMail邮件中继,Exchange邮件中继,MDaemon邮件中继  淘宝店:http://shantan.taobao.com     云邮科技官网:www.yunrelay.com
【字体设置:大 中 小】
<%    
'-------------------------------网页飞信(Fetion)过程V1.1------------------------------    
   
'调用时,只需使用call 语句即可格式为:    
'-----call sendsms(用户名,密码,发送到,短信内容)    
function sendsms(u,p,s,m)    
if len(u)=0 or len(p)=0 or len(s)=0 or len(m)=0 then    
sendsms = flash    
else    
smsapi="http://sms.api.bz/fetion.php?username=" & u & "&password=" & p & "&sendto=" & s & "&message=" & m & ""   
smsgg= getHTTPPage(smsapi)    
if smsgg="短信已提交到发送队列!" then    
sendsms=true    
else    
sendsms=flash    
end if    
end if    
end function   
 
'-------------------------------建站WAP盗侠V1.1----------------------------------------    
   
On Error Resume Next   
Server.ScriptTimeOut=9999999    
Function getHTTPPage(Path)    
t = GETBody(Path)    
            
End function    
'上面的常用函数'首先.进行小偷程序的一些初始化设置.以上代码的作用分别是忽略掉所有非致命性错误.把小偷程序的运行超时时间设置得很长.这样不会出现运行超时的错误.    
   
'---------------------------------盗窃开始设置---------------------------------------------    
   
'1、下面是经典的小偷核发心源码.输入url目标网页地址.返回值getHTTPPage是目标网页的代码    
function getHTTPPage(url)    
dim Http    
set Http=server.createobject("Microsoft.XMLHTTP")    
Http.open "GET",url,false    
Http.send()    
if Http.readystate<>4 then    
exit function    
end if    
getHTTPPage=bytesToBSTR(Http.responseBody,"utf-8") '注意WAP网页用utf-8,WEB用gb2312    
set http=nothing    
if err.number<>0 then err.Clear    
end function    
   
'------------------------------------------------------------------------------------------    
   
'2、转换乱玛.直接用xmlhttp调用有中文字符的网页得到的将是乱玛.可以通过adodb.stream组件进行转换    
Function BytesToBstr(body,Cset)    
dim objstream    
set objstream = Server.CreateObject("adodb.stream")    
objstream.Type = 1    
objstream.Mode =3    
objstream.Open    
objstream.Write body    
objstream.Position = 0    
objstream.Type = 2    
objstream.Charset = Cset    
BytesToBstr = objstream.ReadText    
objstream.Close    
set objstream = nothing    
End Function    
%>   点击下载此文件
 点击下载此文件
        
	  
           
         发表评论 - 不要忘了输入验证码哦! 
        

 用户登陆
 用户登陆 站点日历
 站点日历 站点统计
 站点统计 最新评论
 最新评论 日志搜索
 日志搜索 
 
 asp利用飞信api发送飞信   [ 日期:2010-07-17 01:20:22 ]   [ 来自:
 asp利用飞信api发送飞信   [ 日期:2010-07-17 01:20:22 ]   [ 来自: