TA的每日心情 | 擦汗 2015-1-14 14:05 |
---|
签到天数: 2 天 连续签到: 2 天 [LV.1]测试小兵
|
使用web_reg_save_param获取动态参数数据,获取的数据需要转码,有什么函数或者方法?
下面代码获取的结果:value:home.php?mod=space&uid=373511&do=profile
期望结果:value:home.php?mod=space&uid=373511&do=profile
代码如下:
Action()
{
web_set_max_html_param_len("999999");
web_reg_save_param("author",
"LB=<a href=\"",
"RB=\" target=\"_blank\" class=\"xw1\">",
"Search=Body",
LAST);
web_url("thread-1072567-1-1.html",
"URL=http://bbs.51testing.com/thread-1072567-1-1.html",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t16.inf",
"Mode=HTML",
LAST);
lr_output_message("value:%s", lr_eval_string("{author}"));
return 0;
}
|
|