$txt="abcdefgh" $oHTTP = ObjCreate("microsoft.xmlhttp") $oHTTP.Open("post","http://bbs.im286.com/thread-3811267-1-1.html",false) $oHTTP.setRequestHeader("Cache-Control", "no-cache") $oHTTP.setRequestHeader("Content-Type","application/x-www-form-urlencoded") $oHTTP.setRequestHeader("Referer","http://www.im286.com") $oHTTP.Send("formhash=8a1eec28&subject=&usesig=1&message="&$txt)
举报
$sReturn[1]=hgyi8768 ;正则获取的。 $txt=12345678 $oHTTP = ObjCreate("microsoft.xmlhttp") $oHTTP.Open("post","http://bbs.im286.com/post.php?action=replay&tid=3811267",false) $oHTTP.setRequestHeader("Cache-Control", "no-cache") $oHTTP.setRequestHeader("Content-Type","application/x-www-form-urlencoded") $oHTTP.setRequestHeader("Referer","http://bbs.im286.com/thread-3811267-1-1.html") $oHTTP.Send("formhash="&$sReturn[1]&"&subject=&usesig=1&message="&$txt)
#include #include $Form1 = GUICreate("IM286", 700, 453) $oIE = _IECreateEmbedded () $GUIActiveX = GUICtrlCreateObj($oIE,0, 0, 700, 453) GUISetState(@SW_SHOW) _IENavigate ($oIE,"http://im28 ... l4ever 发表于 2009-8-11 17:01
多谢,这个我会,我想知道如何post回复帖子。 bd540 发表于 2009-8-11 20:33
你不动脑的吗? 简单的改改参数就能回复了. 真不敢相信你会有落伍ID l4ever 发表于 2009-8-11 22:08
查看全部评分
用$oHTTP.setRequestHeader("cookie",*****填入你的cookie******)就可以了 不成功是因为你没有设置cookie头,网站认为你没有登录,所以发帖就不成功了! http://lwc.nhome.cn/code/showip.asp gto250 发表于 2009-8-16 07:14
本版积分规则 发表回复 回帖后跳转到最后一页
|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度
GMT+8, 2025-7-26 21:46 , Processed in 0.213693 second(s), 24 queries .
Powered by Discuz! X3.5 Licensed
© 2001-2025 Discuz! Team.