上一页 1 2 3 4 5 6 7 8 9 ··· 11 下一页
摘要: 在web.config文件中更改上传文件的大小 <?xml version="1.0" encoding="utf-8" ?> <configuration> <system.webServer> <security> <requestFiltering> <!--单位:字节。 --> <reque 阅读全文
posted @ 2021-11-19 09:45 赵瑛 阅读(135) 评论(0) 推荐(0)
摘要: $exp =new \think\db\Expression('(SELECT count(*) from `news` where `news`.`comid` = `company`.`comid`) DESC'); $entlist = Db::name('company') ->join(' 阅读全文
posted @ 2021-11-16 09:39 赵瑛 阅读(239) 评论(0) 推荐(0)
摘要: 问题:使用coreseek搜索关键词发现搜索出来数据还没有mysql模糊查询的数据多。。。问题出在配置的参数上。 代码如下: <?php require_once('sphinxapi.php'); $key = isset($_GET['keys'])?$_GET['keys']:'一个'; $p 阅读全文
posted @ 2021-11-15 08:19 赵瑛 阅读(216) 评论(0) 推荐(0)
摘要: 主库 server-id=2 CREATE USER 'shabi'@'%' IDENTIFIED WITH mysql_native_password BY '123456'; GRANT replication slave ON *.* TO 'slave'@'%'; GRANT ALL pri 阅读全文
posted @ 2021-11-13 18:03 赵瑛 阅读(215) 评论(0) 推荐(0)
摘要: 说明:WHERE IF(条件, true执行条件, false执行条件 ) SELECT * FROM `table` WHERE IF( `parentID` =1, `plan_id` <10, `plan_id` >500 ) LIMIT 0 , 30 编写语句时,一定要按照上面的说明来,不然 阅读全文
posted @ 2021-11-11 10:08 赵瑛 阅读(3113) 评论(0) 推荐(0)
摘要: 记录一下这种判断写法 $sqlModel = Db::name('news'); $sqlModel = $sqlModel->where('endtime','>=',time()); $sqlModel = $sqlModel->where('begintime','<=',time()); $ 阅读全文
posted @ 2021-11-10 16:43 赵瑛 阅读(644) 评论(0) 推荐(0)
摘要: .search_content_list {width:374px;display: none;} .search_content_list ul{border:#ddd 1px solid;border-top:none;padding:5px} .search_content_list ul l 阅读全文
posted @ 2021-11-10 09:15 赵瑛 阅读(376) 评论(0) 推荐(0)
摘要: // 仿 Word 统计文章字数,和 word 统计出来的一致 function comment_count_word($str){ //$str =characet($str); //判断是否存在替换字符 $is_tihuan_count=substr_count($str,"龘"); try { 阅读全文
posted @ 2021-11-08 16:07 赵瑛 阅读(160) 评论(0) 推荐(0)
摘要: find / -size +100M -exec ls -lh {} \; # 查看整体磁盘占用df -h#切换到这块磁盘检查一下这块磁盘的哪个文件夹占用高,再逐层去查找 du -h --max-depth=1 [root@localhost logs]# du -h --max-depth=1 | 阅读全文
posted @ 2021-11-03 22:02 赵瑛 阅读(1174) 评论(0) 推荐(0)
摘要: 基本使用方法: D:\coreseek-4.1\bin\searchd -c D:\coreseek-4.1\etc\article.conf --stop 停止服务 D:\coreseek-4.1\bin\searchd -c D:\coreseek-4.1\etc\article.conf 启动 阅读全文
posted @ 2021-11-01 22:50 赵瑛 阅读(297) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 ··· 11 下一页

版权所有 © 2025 沅来是澧

如果有程序开发、网站建设等需求的请联系我,QQ:47419233