web_reg_save_param_ex --- registration function, save the boundary between the left and right dynamic data
web_reg_save_param_ex(
"ParamName=page_void",
"LB=<input type=\"hidden\" name=\"v_oid\" value=\"",
"RB=\">",
"NotFound=warning",
"Ordinal=1",
SEARCH_FILTERS,
"Scope=Body",
//"ContentType=text/html",
LAST);
Common parameters explained:
ParamName, registered name of the function parameter, the name may be lr_eval_string ( "{page_void}") acquired;
Such usage LB, left border, LB / IC can make case-insensitive comparison
RB, such usage right border, RB / IC can make case-insensitive comparison
NotFound = warning not find the specified information not being given,
"Ordinal = 1" record first found, if ALL of the words, you can only count the number of
SEARCH_FILTERS Unknown
"Scope = Body", Look
// "ContentType = text / html", this thing is try not to use ... From the literal sense only to find html type, but you will fail to find
web_reg_save_param_regexp
--- registration function, regular expression matching the dynamic data
int web_reg_save_param_regexp ( "ParamName = <output parameter name>", "RegExp = regular_expression", [<attribute list>,] [<SEARCH FILTERS>,] LAST);
Parameter Description:
ParamName: name of the parameter to be created.
RegExp: PERL compatible regular expression, including for extracting a substring from the response or response in parenthesis. Please refer to the regular expression.
List of Attributes: For more information about each property, see Saving attribute parameter registration function.
Attribute value character string (e.g., "NotFound = warning") is case insensitive.
SEARCH FILTERS: search filter, part of the buffer specified in the search string. See search filter parameters to save the registration function.
LAST: indicates the end of the parameter list tags.
web_reg_save_param_regexp function is used to find dynamic data in the server response service functions. In general, the data found for coorelation.
web_set_max_html_param_len
--- the maximum length of the retrieved set of dynamic information html
intweb_set_max_html_param_len(const char * length);
The maximum length of the following example, you can retrieve and save parameters in the HTML data set of 1024 characters:
web_set_max_html_param_len(“1024”);