主页 > 知识库 > asp中xmlhttp组件发包

asp中xmlhttp组件发包

热门标签:伊春外呼业务系统 绵阳防封电销卡价格 电销机器人教育 河北智能外呼系统软件 福建外呼增值业务线路 中国办理电信400电话 电销机器人源码网盘下载 调度系统外呼 宜宾语音外呼系统软件

asp中xmlhttp组件发包
写的一个小偷函数,注意红色代码部分,其他的自己添加吧!
Function PostHttpPageFrom(HttpUrl,stra,FromUrl)
   Dim Http
Set Http=server.createobject("MSXML2.XMLHTTP")
   Http.open "POST",HttpUrl,False
   Http.setrequestheader "content-length",len(stra)   Http.setrequestheader "content-
type","application/x-www-form-urlencoded"
   Http.setrequestheader "Referer",FromUrl
   Http.send stra 
If Http.Readystate>4 then
      Set Http=Nothing 
GetHttpPage="$False$"
Exit function
End if
PostHttpPageFrom=bytesToBSTR(Http.responseBody,"gb2312")   Set Http=Nothing
If Err.number>0 then
      Err.Clear
End If
End Function
Function BytesToBstr(Body,Cset)
   Dim Objstream
Set Objstream = Server.CreateObject("adodb.stream")
   objstream.Type = 1
objstream.Mode =3
objstream.Open1 d)
objstream.Write body
objstream.Position = 0
objstream.Type = 2
objstream.Charset = Cset
   BytesToBstr = objstream.ReadText
   objstream.Close
   set objstream = nothing
End Function

标签:铜川 电商邀评 延边 新乡 优质小号 苏州 那曲 河池

巨人网络通讯声明:本文标题《asp中xmlhttp组件发包》,本文关键词  asp,中,xmlhttp,组件,发包,;如发现本文内容存在版权问题,烦请提供相关信息告之我们,我们将及时沟通与处理。本站内容系统采集于网络,涉及言论、版权与本站无关。
  • 相关文章
  • 下面列出与本文章《asp中xmlhttp组件发包》相关的同类信息!
  • 本页收集关于asp中xmlhttp组件发包的相关信息资讯供网民参考!
  • 推荐文章