标签 代码 下的文章

php和asp判读蜘蛛与人工浏览,用于备案

php代码: 说明:header("Location:default.php".$_SERVER['REQUEST_URI']); 要跳转到新的页面去。当然也可以echo出来。可参考eot写法,此处不举例了。 asp代码:0 then GetBot="google" end if if instr(1,s_agent,"msnbot",1) >0 then GetBot="MSN" end if if instr(1,s_agent,"slurp",1) >0 then GetBot="Yahoo" end if if instr(1,s_agent,"ba...