|
//获取Action返回的值,会返回0,1,或者一串数据如1923
web_reg_save_param("test",
"LB=GMT\r\n\r\n",
"RB=",
"Ord=1",
"NotFound=ERROR",
LAST);
web_submit_data("eClient.do_6",
"Action=http://192.168.8.189:5013/ezg/eClient.do?method=saveClient&clientId=",
"Method=POST",
"TargetFrame=",
"RecContentType=text/html",
"Referer=http://192.168.8.189:5013/ezg/main.do",
"Snapshot=t34.inf",
"Mode=HTML",
ITEMDATA,
"Name=clientId", "Value=", ENDITEM,
"Name=clientPage.pageSize", "Value=10", ENDITEM,
"Name=clientPage.pageNo", "Value=1", ENDITEM,
"Name=custNameHidden", "Value=", ENDITEM,
.......
LAST);
现在我想使用这个test值来进行判断,如果test=1则说明是有错误的,如果test等于一串数据,则是成功的。这个条件要怎么写?要把这个test值取出来转换成变量,试了好久没弄出来
if (atoi(lr_paramarr_idx("test",1))==0) 这个写会报错。 |
|