上一页 1 ··· 28 29 30 31 32 33 34 35 36 ··· 65 下一页
摘要: 因为网站上传的图片大小不一致,出现图片旁边空白问题,本来想采用js来控制,但是代码比较多些,就用object-fit:cover解决 例如: img{ width:100%; height:100%; object-fit:cover; } 演示:http://www.sdfymj.com/sell 阅读全文
posted @ 2020-01-13 09:01 圆柱模板 阅读(564) 评论(0) 推荐(0)
摘要: destoon7.0在搜索地区标题会出现一个分隔符,这样对seo挺不好友好对,所以去除比较好。开干! 首页打开/include/seo.inc.php文件,找到这句话,这句话运用了php三元运算 $seo_areaname = (isset($areaid) && $areaid) ? area_p 阅读全文
posted @ 2020-01-04 14:33 圆柱模板 阅读(265) 评论(0) 推荐(0)
摘要: destoon7在进行搜索页配置的时候: {地区}{关键词}{分类名称}{页码}{网站名称} 那个分类名称就会出现两层,今天就说说怎么只返回当前这个分类 首页找到/include/seo.inc.php下,接近:20行左右,找到 foreach($tmp as $k=>$v) { $seo_catn 阅读全文
posted @ 2019-12-31 17:12 圆柱模板 阅读(282) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2019-12-25 09:21 圆柱模板 阅读(5) 评论(0) 推荐(0)
摘要: 自己网站在windows server2008下安装的ngnix,然后配置php,网站访问流量并不大,但是经常出现503问题。经过查看ngnix服务器错误日志,发现: (10061: No connection could be made because the target machine act 阅读全文
posted @ 2019-12-22 16:18 圆柱模板 阅读(953) 评论(0) 推荐(0)
摘要: function escape($string) { global $_POST; $search = array ( '/</i', '/>/i', '/\">/i', '/\bunion\b/i', '/load_file(\s*(\/\*.*\*\/)?\s*)+\(/i', '/into(\ 阅读全文
posted @ 2019-12-14 12:29 圆柱模板 阅读(331) 评论(0) 推荐(0)
摘要: 今天在调试Ngnix1.15.11+php5.4网站时候,因为网站数据和并发过大,出现502 Bad Gateway问题,所以记下笔记。 只需要修改php-fpm.conf的request_terminate_timeout值就可以解决超时页面显示502的问题。 首页找到:php.ini文件,加入: 阅读全文
posted @ 2019-12-13 10:45 圆柱模板 阅读(658) 评论(0) 推荐(0)
摘要: 关于destoon6.0下的ngnix伪静态配置 ##rewrite nginx rewrite '(.*)\.(asp|aspx|asa|asax|dll|jsp|cgi|fcgi|pl)(.*)' /404.php last; rewrite '(.*)/(admin|cache|editor| 阅读全文
posted @ 2019-11-11 13:04 圆柱模板 阅读(308) 评论(0) 推荐(0)
摘要: Mozilla/5.0 (iPod; CPU iPhone OS 6_0_1 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A523 Safari/8536.25 Mozilla/5.0 (iPod; CPU iPhone OS 6_0_1 like Mac OS X) AppleWeb... 阅读全文
posted @ 2019-10-31 14:01 圆柱模板 阅读(933) 评论(0) 推荐(0)
摘要: 自己经常用的一些爬虫用的user-agent头部 阅读全文
posted @ 2019-10-30 22:29 圆柱模板 阅读(515) 评论(0) 推荐(0)
上一页 1 ··· 28 29 30 31 32 33 34 35 36 ··· 65 下一页