web_reg_find函数:注册型函数,放在web_url(),web_submit_data(),web_submmit_from(),web_link,web_image(),web_castom_request()请求函数之前。
web_reg_find("Fail=Notfound","Search = All","SaveCount=CountParam",Last)
if (atoi(lr_eval_string("{CountParam}")) > 0){ //判断如果CountParam字符串出现次数大于0
lr_output_message("Log on successful."); }//在日志中输出Log on successful
else{ //如果出现次数小于等于
lr_error_message("Log on failed"); //在日志中输出Log on failed
return(0);}
可以利用上面的判断,来验证查找的内容