vvvvy 发表于 2008-10-5 11:03:56

会POST的进来看下哦~遇到难题了

POST /v3!xx_rzdj/xx_save.asp HTTP/1.1
Accept: application/x-shockwave-flash, image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-silverlight, application/QVOD, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-silverlight-2-b2, */*
Referer: http://bar.yes88.com.cn/v3!xx_rzdj/xx_edit..asp
Accept-Language: zh-cn
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; InfoPath.2; CIBA)
Host: bar.yes88.com.cn
Content-Length: 96
Connection: Keep-Alive
Cache-Control: no-cache
Cookie: ASPSESSIONIDQQBCBSBB=JJNBFMJDIKMHGCKNFPHEEDAD; SYS%5FuserNumber=080904%2D439637%2D0705; UserID=**; PassWord=******; ASPSESSIONIDSQBDATBB=HHAGBEBACCBOBPMCBLHNJKHL

xks=2008-10-4&xd1=400&xdw=Mb&xd2=430&xid=-92166&xus=351&xlm=%CD%F8%B0%C9%C8%D5%D6%BE%BB%E3%B1%A8


谁能分析下这些数据,这些数据是拦截发送的.
我尝试了 http://bar.yes88.com.cn/v3!xx_rzdj/xx_edit..asp?xks=2008-10-4&xd1=400&xdw=Mb&xd2=430&xid=-92166&xus=351&xlm=%CD%F8%B0%C9%C8%D5%D6%BE%BB%E3%B1%A8

这样发送.不行.发送了没有反应.   -92166这个数据没次打开网页都会变,但是可以从源代码里面提取.
也试过把 xx_edit..asp换城xx_save.asp 发送也不可以

[ 本帖最后由 vvvvy 于 2008-10-6 13:31 编辑 ]

gto250 发表于 2008-10-5 11:23:21

$xmlhttp=ObjCreate("Mixrosoft.XMLHTTP")
$poststr="xks=2008-10-4&xd1=400&xdw=Mb&xd2=430&xid=-92166&xus=351&xlm=%CD%F8%B0%C9%C8%D5%D6%BE%BB%E3%B1%A8"
$xmlhttp.open("post","/v3!xx_rzdj/xx_save.asp","false")
$xmlhttp.setRequestHeader("Content-Type","application/x-www-form-urlencoded")
$xmlhttp.setRequestHeader("Referer","http://bar.yes88.com.cn/v3!xx_rzdj/xx_edit..asp")
$xmlhttp.setRequestHeader("Cookie","ASPSESSIONIDQQBCBSBB=JJNBFMJDIKMHGCKNFPHEEDAD; SYS%5FuserNumber=080904%2D439637%2D0705; UserID=**; PassWord=******; ASPSESSIONIDSQBDATBB=HHAGBEBACCBOBPMCBLHNJKHL")
$xmlhttp.send($poststr)

vvvvy 发表于 2008-10-5 12:25:39

不知道行不行,得明天才能发送了.明天看看结果

vvvvy 发表于 2008-10-6 13:20:41

OK,搞定了.谢谢

[ 本帖最后由 vvvvy 于 2008-10-6 13:31 编辑 ]

foxdcj 发表于 2009-7-26 14:22:16

谢谢,学习到了不少东西

reitgqy 发表于 2009-12-22 17:15:22

学习        

omegabomb 发表于 2010-4-14 08:36:09

2楼的microsoft拼错了。。。:face (13):
页: [1]
查看完整版本: 会POST的进来看下哦~遇到难题了