问一个自动投票器的问题?
这几天看了下自动投票的资料,准备帮同学的好友投票,是下面这个网址:
http://www.letdoo.com/joy/avon/
本来一般表单POST出去的内容会显示出来,但是这个网站不一样,有点弄不懂他的HTTP头部信息,大家帮我分析分析啊,谢谢了,下面列出当按下投票按钮后的HTTP头部信息:
POST /joy/avon/index_vote.php HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
Referer: http://www.letdoo.com/joy/avon/index_vote.php
Accept-Language: zh-cn
Content-Type: multipart/form-data; boundary=---------------------------7d6235351a01b4
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; Maxthon; .NET CLR 1.1.4322)
Host: www.letdoo.com
Content-Length: 436
Connection: Keep-Alive
Cache-Control: no-cache
下面是返回来的信息
HTTP/1.1 200 OK
Date: Thu, 09 Mar 2006 10:31:37 GMT
Server: Apache/2.0.52 (Red Hat)
X-Powered-By: PHP/5.0.5
Set-Cookie: PHPSESSID=6bd697b948716a88569d63f6d1cc7a4d; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Length: 1410
Connection: close
Content-Type: text/html; charset=GB2312
之后又有一次GET请求出去:
GET /joy/avon/index_vote.php HTTP/1.1
Accept: */*
Referer: http://www.letdoo.com/joy/avon/
Accept-Language: zh-cn
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; Maxthon; .NET CLR 1.1.4322)
Host: www.letdoo.com
Connection: Keep-Alive
然后接受到的信息是:
HTTP/1.1 200 OK
Date: Thu, 09 Mar 2006 10:31:41 GMT
Server: Apache/2.0.52 (Red Hat)
X-Powered-By: PHP/5.0.5
Set-Cookie: PHPSESSID=a72d6c6d0958b3fb1e2808fe96a1809d; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Length: 4380
Connection: close
Content-Type: text/html; charset=GB2312
请问下这个流程应该怎么模拟啊,特别是对
Content-Type: multipart/form-data; boundary=---------------------------7d6235351a01b4
这个不是很清楚,急用啊,谢谢大家帮我解决啊.万分感谢!!
解决了这个问题可以到这里领分:
http://community.csdn.net/Expert/topic/4604/4604130.xml?temp=.3914453
问题点数:50、回复次数:2Top
1 楼yhlyuan(3dgame)回复于 2006-03-12 16:23:48 得分 0
晕死,问了那么久,UP的一个都没得,还是我自己解决了...要分的来一个,我就给你分!!!Top
2 楼Silo(炽天之翼)回复于 2006-03-12 20:20:41 得分 50
路过帮顶~~Top




