|
[广告] Excel易用宝 - 提升Excel的操作效率 · Excel / WPS表格插件 ★ 免费下载 ★ ★ 使用帮助★
本帖最后由 kangatang 于 2012-9-18 15:50 编辑
<script>alert("同一IP每日每个选项只可投10票!");window.close();</script>
for p = 1 to 11
Call vote("http://voting.people.com.cn/option_submit.php?language=1")
next
Function vote(url)
Dim xmlhttp
Set xmlhttp = CreateObject("Microsoft.XMLHTTP")
With xmlhttp
.Open "POST", url, False
.setRequestHeader "Content-Type", "application/x-www-form-urlencoded"
.Send("itemid=2&command=SURVEY&qid=13606&Submit.x=26&Submit.y=8")
' msgbox .getallResponseHeaders()
msgbox strconv(.responsebody)
End With
Set xmlhttp = Nothing
End Function
Function strconv(Binbody)
dim strReturn
strReturn = ""
For i = 1 To LenB(Binbody)
ThisCharCode = AscB(MidB(Binbody, i, 1))
If ThisCharCode < &H80 Then
strReturn = strReturn & Chr(ThisCharCode)
Else
NextCharCode = AscB(MidB(Binbody, i + 1, 1))
strReturn = strReturn & Chr(CLng(ThisCharCode) * &H100 + CInt (NextCharCode))
i = i + 1
End If
Next
strconv = strReturn
End Function
|
评分
-
1
查看全部评分
-
|