|
帮助解析下web_reg_save_param_ex用法
帮助里头例子 我看不懂,如DFEs、 SEARCH_FILTERS、Scope这几个属性是指什么哦?等等
int iRetVal = LR_PASS;
lr_save_string( "HTTP%2F1%2E1%20301%20Moved%20Permanently%0A%0D"
"Content%2DType%3A%20text%2Fhtml%0A%0D"
"Date%3A%20Sun%2C%2014%20Feb%202010%2011%3A15%3A34%20GMT%0A%0D"
"%0A%0D"
"aaLLb%20bLLc%20%2E%2ecRRddRReeRRffLLggsadfsdfsdfRRhhRRiiLLj%20%2d%2DjRRkkLLmmLLnnRRoooRRpppLLqqq%0A%0D",
"inParam" );
iRetVal = web_reg_save_param_ex(
"ParamName=newParam",
"LB/IC=ll",
"RB/BIN/RE=RR",
"Ordinal=all",
"SaveLen=-1",
"DFEs=UrlEncoding",
SEARCH_FILTERS,
"Scope=body",
LAST);
lr_output_message("Return value = %d (%s).", iRetVal, iRetVal == LR_PASS ? "LR_PASS" : "LR_FAIL" );
web_submit_data("echo.asp_2",
"Action=http://localhost/cgi-bin/echo.asp",
"Method=POST",
"TargetFrame=",
"RecContentType=text/html",
"Referer=http://localhost/cgi_examples/echo_asp.html",
"Snapshot=t4.inf",
"Mode=HTML",
ITEMDATA,
"Name=code", "Value={inParam}", ENDITEM,
LAST); |
|