上一页 1 2 3 4 5 6 7 8 9 10 ··· 12 下一页
摘要: 用四台服务器配置MySql双主热备配置 主机1服务器ip:192.168.31.208 主机2服务器ip:192.168.31.133 从机1服务器ip:192.168.31.121 从机2服务器ip:192.168.31.243 实现的原理 主机1和主机2服务器log-bin日志互相监听,只要其中 阅读全文
posted @ 2019-06-13 01:23 Abner3721 阅读(427) 评论(0) 推荐(0) 编辑
摘要: 环境: CentOS Linux release 7.2.1511 (Core) mysql Ver 14.14 Distrib 5.7.24, for Linux (x86_64) using EditLine wrapper 1、首先进入主机的配置文件中 vim /etc/my.cnf log- 阅读全文
posted @ 2019-06-12 16:20 Abner3721 阅读(156) 评论(0) 推荐(0) 编辑
摘要: compressImg($dst_img); } } closedir($files); /** * 图片压缩类:通过缩放来压缩。 * 如果要保持源图比例,把参数$percent保持为1即可。 * 即使原比例压缩,也可大幅度缩小。数码相机4M图片。也可以缩为700KB左右。如果缩小比例,则体积会更小。 * * 结果:可保存、可直接显示。 */ class imgcom... 阅读全文
posted @ 2018-06-06 16:19 Abner3721 阅读(3006) 评论(0) 推荐(0) 编辑
摘要: $.ajax({ type : 'POST', url : '/plus/list.php', data : { 'pageNum' : page -1, 'act' : 'ajax_page', 'tid' : '9' }, dataType : 'json', beforeSend : function()... 阅读全文
posted @ 2018-05-30 13:32 Abner3721 阅读(101) 评论(0) 推荐(0) 编辑
摘要: # For advice on how to change settings please see# http://dev.mysql.com/doc/refman/5.6/en/server-configuration-defaults.html# *** DO NOT EDIT THIS FIL 阅读全文
posted @ 2018-05-09 14:01 Abner3721 阅读(116) 评论(0) 推荐(0) 编辑
摘要: 首先配置好DEDE使用可以使用百度编辑器 然后找到 \include\inc\inc_fun_funAdmin.php文件,找到else if($GLOBALS['cfg_html_editor']=='ueditor') 然后把下面的文件修改 $fvalue = $fvalue=='' ? '<p 阅读全文
posted @ 2018-04-12 17:22 Abner3721 阅读(250) 评论(0) 推荐(0) 编辑
摘要: 首页 商业 艺术 商业3 艺术 风云榜 接招 招聘 --> ... 阅读全文
posted @ 2018-03-13 14:04 Abner3721 阅读(174) 评论(0) 推荐(0) 编辑
摘要: $row['body'] = preg_replace("/(<img .*?src=\")[^https|^http](.*?)(\".*?>)/is","\${1}$host\${2}\${3}",$row['body']); 阅读全文
posted @ 2018-03-12 11:26 Abner3721 阅读(195) 评论(0) 推荐(0) 编辑
摘要: ecshop在分类超过500的时候,因递归里查询数据库,造成数据连接超时,故重写 阅读全文
posted @ 2018-02-28 15:34 Abner3721 阅读(464) 评论(0) 推荐(0) 编辑
摘要: $(".sendDate").click(function(){ var data = new FormData($('#uploadForm')[0]); // var data = $('#uploadForm').serialize(); $.ajax({ type: "POST", ... 阅读全文
posted @ 2018-01-31 09:52 Abner3721 阅读(158) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 12 下一页