摘要: 用户管理 mysql>use mysql; 查看 mysql> select host,user,password from user ; 创建 mysql> create user zx_root IDENTIFIED by 'xxxxx'; //identified by 会将纯文本密码加密作为 阅读全文
posted @ 2016-10-08 11:49 依稀 阅读(401) 评论(0) 推荐(0) 编辑
摘要: var filechooser = document.getElementById("choose"); // 用于压缩图片的canvas var canvas = document.createElement("canvas"); var ctx = canvas.getContext('2d'); // 瓦片canvas var tCanvas = doc... 阅读全文
posted @ 2016-09-13 18:03 依稀 阅读(1288) 评论(0) 推荐(0) 编辑
摘要: mysql导入数据,navicat报错: 1 2 3 4 5 MySQL server has gone away Table Restored: act_ge_bytearray Rolling back... Finished - Stopped before completion 问题原因:导 阅读全文
posted @ 2016-08-31 11:36 依稀 阅读(6761) 评论(0) 推荐(0) 编辑
摘要: 这里要使用plupload插件 前端js 服务端代码php 插件包自己去下吧 阅读全文
posted @ 2016-08-12 16:18 依稀 阅读(1070) 评论(0) 推荐(0) 编辑
摘要: 感觉这东西跟mongodb差不多,安装和布置挺简单, 下载地址:https://github.com/dmajkic/redis/downloads 下载下来的包里有两个, 一个是32位的,一个是64位的。根据自己的实情情况选择,我的是64bit, 把这个文件夹复制到其它地方,比如E:\TRS\re 阅读全文
posted @ 2016-08-09 11:46 依稀 阅读(211) 评论(0) 推荐(0) 编辑
摘要: laravel版本:5.1 今天做的是引入第三方的phpquery类库,方法: 在laravel的app目录下自定义一个文件夹,我用的名字是:Libs 然后直接将phpquery类库扔进这个目录 在composer.json中的autoload下的classmap下加入"app/Libs/phpQu 阅读全文
posted @ 2016-08-01 16:26 依稀 阅读(1133) 评论(0) 推荐(0) 编辑
摘要: 函数 注意:由于 X1.5 里增加了SQL的安全性检测。因此,如果你的SQL语句里包含以下开头的函数 load_file,hex,substring,if,ord,char。 或者包含以下操作 intooutfile,intodumpfile,unionselect,(select')都将被拒绝执行 阅读全文
posted @ 2016-07-27 19:33 依稀 阅读(347) 评论(0) 推荐(0) 编辑
摘要: function transdate(endTime){ var date=new Date(); date.setFullYear(endTime.substring(0,4)); date.setMonth(endTime.substring(5,7)-1); date.setDate(endTime.substring(8,10)); date.setHours(endTime.subst... 阅读全文
posted @ 2016-07-22 14:51 依稀 阅读(141) 评论(0) 推荐(0) 编辑
摘要: ::-webkit-input-placeholder { /* WebKit browsers */ color: #A9A9A9; } :-moz-placeholder { /* Mozilla Firefox 4 to 18 */ color: #A9A9A9; opacity: 1; } ::-moz-placeholder { /* Mozilla ... 阅读全文
posted @ 2016-07-22 12:59 依稀 阅读(465) 评论(0) 推荐(0) 编辑
摘要: 装载自:http://www.cnblogs.com/sxwgf/archive/2011/11/17/2252076.html 也许你是初学者,那以防万一,我先来讲讲什么是正则表达式吧: 正则表达式可以帮助我们更好的描述复杂的文本格式。一旦你描述清楚了这些格式,那你就可以利用它们对文本数据进行检索 阅读全文
posted @ 2016-07-15 17:27 依稀 阅读(199) 评论(0) 推荐(0) 编辑