11 2021 档案
摘要:find /目录 -name "*.php" | xargs rm -f
阅读全文
摘要:在web.config文件中更改上传文件的大小 <?xml version="1.0" encoding="utf-8" ?> <configuration> <system.webServer> <security> <requestFiltering> <!--单位:字节。 --> <reque
阅读全文
摘要:entlist = Db::name('company') ->join('
阅读全文
摘要:问题:使用coreseek搜索关键词发现搜索出来数据还没有mysql模糊查询的数据多。。。问题出在配置的参数上。 代码如下: <?php require_once('sphinxapi.php'); _GET['keys'])?p
阅读全文
摘要:主库 server-id=2 CREATE USER 'shabi'@'%' IDENTIFIED WITH mysql_native_password BY '123456'; GRANT replication slave ON *.* TO 'slave'@'%'; GRANT ALL pri
阅读全文
摘要:说明:WHERE IF(条件, true执行条件, false执行条件 ) SELECT * FROM `table` WHERE IF( `parentID` =1, `plan_id` <10, `plan_id` >500 ) LIMIT 0 , 30 编写语句时,一定要按照上面的说明来,不然
阅读全文
摘要:.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
阅读全文
摘要:// 仿 Word 统计文章字数,和 word 统计出来的一致 function comment_count_word($str){ //str); //判断是否存在替换字符 str,"龘"); try {
阅读全文
摘要:find / -size +100M -exec ls -lh {} \; # 查看整体磁盘占用df -h#切换到这块磁盘检查一下这块磁盘的哪个文件夹占用高,再逐层去查找 du -h --max-depth=1 [root@localhost logs]# du -h --max-depth=1 |
阅读全文
摘要:基本使用方法: 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 启动
阅读全文