|
做英文phpbb、SMF 等论坛的登陆模块时,遇到困难。请高手帮忙!
截取的POST是:(注意红色部分,是个每次POST都不一样的值,都是7d7*******的形式)
POST /smf/index.php?action=post2;start=0;board=1 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.yy1y.com/smf/index.php?action=post;board=1.0
Accept-Language: zh-cn
Content-Type: multipart/form-data; boundary=---------------------------7d7f36704ea
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)
截取的文章发布POST:
-----------------------------7d7f36704ea
Content-Disposition: form-data; name="guestname"
nnnnn
-----------------------------7d7f36704ea
Content-Disposition: form-data; name="email"
ggg@ggg.com
-----------------------------7d7f36704ea
Content-Disposition: form-data; name="subject"
22222222222
-----------------------------7d7f36704ea
Content-Disposition: form-data; name="icon"
xx
-----------------------------7d7f36704ea
Content-Disposition: form-data; name="message"
33333333333
-----------------------------7d7f36704ea
Content-Disposition: form-data; name="attachment[]"; filename=""
Content-Type: application/octet-stream
-----------------------------7d7f36704ea
Content-Disposition: form-data; name="post"
鍙戝笘
-----------------------------7d7f36704ea
Content-Disposition: form-data; name="additional_options"
0
-----------------------------7d7f36704ea
Content-Disposition: form-data; name="sc"
c71ad73b7c3ab5bb88386022c50bf591
-----------------------------7d7f36704ea
Content-Disposition: form-data; name="seqnum"
151536
-----------------------------7d7f36704ea--
我仔细查过了,boundary=---------------------------7d7f36704ea 在所有网页源代码中是找不到的,所以不能像登陆随机值一样设置
请问,这个boundary=---------------------------7d7f36704ea
应该怎么搞定??
给大家测试网址:www.yy1y.com/smf/ 或 www.yy1y.com/phpbbe/ 二个英文测试论坛,都设成“游客”也能发贴,不存在登陆问题。
高手指点!!英文phpbb、SMF 等论坛的登陆模块
[ 本帖最后由 o51888 于 2007-12-31 11:00 编辑 ] |
|