我想为URL参数添加动态时间戳" time"。如何应用当前时间戳而不是预定义的时间戳?
web_url("getSegment.php",
"URL=https://somesite.com/getSegment.php?purl=https%3A%2F%2Fstage.example.com%en%2F&jsref=&time=1455031236053",
"Resource=0",
"RecContentType=text/html",
"Referer=https://stage.example.com/en/",
"Snapshot=t3.inf",
"Mode=HTML",
LAST);
答案 0 :(得分:2)
您可以使用lr_save_timestamp功能:
lr_save_timestamp("timestamp", LAST);
web_url("getSegment.php",
"URL=https://somesite.com/getSegment.php?purl=https%3A%2F%2Fstage.example.com%en%2F&jsref=&time={timestamp}",
"Resource=0",
"RecContentType=text/html",
"Referer=https://stage.example.com/en/",
"Snapshot=t3.inf",
"Mode=HTML",
LAST);