搜索引擎蜘蛛,asp 判断是否为搜索引擎蜘蛛的代码

复制代码 代码如下: % function GetBot() '查询蜘蛛 dim s_agent GetBot="" s_agent=Request.ServerVariables("HTTP_USER_AGENT") ‘关键判断语句 if instr(1,s_agent,"googlebot",1) 0 then GetBot="google" end if if instr(1,s_agent... [阅读全文]
1 共1条 分1页