|
8#
楼主 |
发表于 2015-1-30 11:26:32
|
只看该作者
lr_start_transaction("法帖子");
web_url("forum.php_3",
"URL=http://localhost/upload/forum.php?mod=post&action=newthread&fid=2",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=http://localhost/upload/forum.php?mod=forumdisplay&fid=2",
"Snapshot=t10.inf",
"Mode=HTML",
web_submit_data("forum.php_4",
"Action=http://localhost/upload/forum.php?mod=post&action=newthread&fid=2&extra=&topicsubmit=yes",
"Method=POST",
"TargetFrame=",
"RecContentType=text/html",
"Referer=http://localhost/upload/forum.php?mod=post&action=newthread&fid=2",
"Snapshot=t11.inf",
"Mode=HTML",
ITEMDATA,
"Name=formhash", "Value=254c8944", ENDITEM,
"Name=posttime", "Value=1422588398", ENDITEM,
"Name=wysiwyg", "Value=1", ENDITEM,
"Name=subject", "Value=test7.1", ENDITEM,
"Name=message", "Value=测试sub-data是否成功", ENDITEM,
"Name=replycredit_extcredits", "Value=0", ENDITEM,
"Name=replycredit_times", "Value=1", ENDITEM,
"Name=replycredit_membertimes", "Value=1", ENDITEM,
"Name=replycredit_random", "Value=100", ENDITEM,
"Name=save", "Value=", ENDITEM,
"Name=uploadalbum", "Value=", ENDITEM,
"Name=newalbum", "Value=", ENDITEM,
"Name=usesig", "Value=1", ENDITEM,
"Name=allownoticeauthor", "Value=1", ENDITEM,
EXTRARES,
lr_end_transaction("法帖子",LR_AUTO);
这是我发帖那部分的代码?请各位同胞帮看看我应该如何写关联呢?我对比了三个脚本,发现只有"Name=formhash", "Value=254c8944", ENDITEM,
"Name=posttime", "Value=1422588398", ENDITEM, 这两个参数的值有变化,是关联这两个吗??关联的左右值该如何写如何判断呢??忘给予回答 |
|