202203-17 PHP主页判断百度/蜘蛛跳转代码 NEW <?php if (ereg("http://www.baidu.com/search/spider.htm", $_SERVER["HTTP_USER_AGENT"])){ //判断搜索引擎,执行跳转,这里判断的是百度。 &n... Read More >
202203-12 mysql 随机数据 高效执行语句 NEW mysql 获取随机数据占用cpu高解决办法:优化sql 语句SELECT * FROM zbp_post AS t1 JOIN (SELECT ROUND(RAND() * ((SELECT MAX(log_ID) FROM zbp_post)-(SELECT MIN(log_ID) FROM zbp_post))+... Read More >
202203-02 百度自动推送JS代码 NEW JS推送代码(已下线,纪念)<script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0];... Read More >