摘要: PHP判断搜索引擎来路跳转代码:<?php$flag = false;$tmp = $_SERVER['HTTP_USER_AGENT'];if(strpos($tmp, 'Googlebot') !== false){ $flag = true;} else if(strpos($tmp, 'Baiduspider') >0){ $flag = true;} else if(strpos($tmp, 'Yahoo! Slurp') !== false){ $flag = true;} else if(strpos($ 阅读全文
posted @ 2012-07-10 10:05 wy_jianzhan 阅读(5050) 评论(0) 推荐(0)