各位大侠帮个帮
login(){
lr_think_time(5);
web_submit_data("login.pl",
"Action=http://localhost:1080/mercuryWebTours/login.pl",
"Method=POST",
"RecContentType=text/html",
"Referer=http://localhost:1080/mercuryWebTours/nav.pl?in=home",
"Snapshot=t4.inf",
"Mode=HTML",
ITEMDATA,
"Name=userSession", "Value=104389.62818955fDzQftVpfDccVHpctQ", ENDITEM,
"Name=username", "Value={user}", ENDITEM,
"Name=password", "Value={password}", ENDITEM,
"Name=JSFormSubmit", "Value=off", ENDITEM,
"Name=login.x", "Value=42", ENDITEM,
"Name=login.y", "Value=6", ENDITEM,
LAST);
return 0;
}
请问这段代码转换成JS怎么转换呢:) 不懂,飘过,希望给更多的人看到 为啥啊,换成JS?
页:
[1]