|
#include "web_api.h"
Action()
{
char temp[100];
int j=1;
char NB[100];
// web_add_cookie("__utma=257593167.435388867.1198722116.1199255466.1199260039.84; DOMAIN=59.151.23.58");
// web_add_cookie("__utmz=257593167.1198722116.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); DOMAIN=59.151.23.58");
web_url("ReaderServerInvoker",
"URL=http://59.151.23.58/ReaderServerInvoker/",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTML",
LAST);
web_reg_save_param("New_dbv", "LB=\<dbv\>", "RB=\<\/dbv\>", "ORD=All");
sprintf(temp, "{New_dbv_%d}",j);
lr_save_string(lr_eval_string(temp),"stemp");
lr_error_message("%s",lr_eval_string("{stemp}"));
strcpy(NB,lr_eval_string("{stemp}"));
web_submit_form("is.sim",
ITEMDATA,
"Name=F1", "Value=", ENDITEM,
"Name=requestxml", "Value=<c>\r\n"
" <srqh>\r\n"
" <d>2007112893957</d>\r\n"
" <c1>S5.0.2</c1>\r\n"
" <r2>S</r2>\r\n"
" <c2>ie</c2>\r\n"
" <j>京AAA9717/暂AAA9182</j>\r\n"
" <e1> </e1>\r\n"
" <sid>e964c9f6280bd09207f1a34e0987e512</sid>\r\n"
" </srqh>\r\n"
" <k>readerlogin</k>\r\n"
" <dbv>{NB}</dbv>\r\n"
"</c>", ENDITEM,
"Name=B1", "Value=Submit", ENDITEM,
LAST);
return 0;
}
红色的部分我想把参数的值取出来!?请问怎么修改我的角本!?
现在急用啊!? 别的角本都,但是这个角本怎么都不行啊!?!
[ 本帖最后由 superfang 于 2008-1-3 13:09 编辑 ] |
|