PHP判断是否蜘蛛访问代码开发技术

搞插件有时候需要判断是否是蜘蛛,所以记下来function nciaer_xxx_checkrobot($useragent='') { static $kw_spiders=array('bot', 'crawl', 'spider' ,'slurp', 'sohu-search', 'lycos', 'robozilla'); ...
nciaer 发布于