01 2019 档案
linux服务器后台运行服务
摘要:linux 后台运行一个服务 难免会遇到在Linux,后台执行任务。下面,总结了一下关闭窗口任然在后台执行的方法,例如 采用& 1. ps -ef |grep redis 查找自己开启的服务 ps:将某个进程显示出来-A 显示所有程序。 -e 此参数的效果和指定"A"参数相同。-f 显示UID,PP 阅读全文
posted @ 2019-01-18 16:08 chenlw101 阅读(3723) 评论(0) 推荐(0) 编辑
各种浏览器文件下载
摘要:$("#tab1").bindChildEvent("#download",function(){ var imgPathURL=$("#div_edit_image_views #image").attr("src"); if(imgPathURL){ oDownLoad(imgPathURL); ... 阅读全文
posted @ 2019-01-17 11:08 chenlw101 阅读(324) 评论(0) 推荐(0) 编辑
localStorage sessionStorage 用法
摘要:sessionStorage.getItem('key') // 获取 sessionStorage.setItem('key','value') //设置 sessionStorage.removeItem('key') //删除 sessionStorage.clear() //清除 localStorage 同上 阅读全文
posted @ 2019-01-17 09:48 chenlw101 阅读(224) 评论(0) 推荐(0) 编辑
url编码乱码问题解决
摘要://url encodeURI加密 window.location.href = "upload.html?sendName="+encodeURI(sendName); //接收参数 getParam("sendName") function getParam(name) { var len = name.length+1; var url = decodeUR... 阅读全文
posted @ 2019-01-17 09:44 chenlw101 阅读(331) 评论(0) 推荐(0) 编辑
php.ini文件修改完重启
摘要:killall php-pfm启动php-pfm 一般 service php-fpm restart 阅读全文
posted @ 2019-01-15 15:49 chenlw101 阅读(4384) 评论(0) 推荐(0) 编辑
php 对象转字符串
摘要:$json_string = json_encode($object, JSON_FORCE_OBJECT); json_encode($object); //结果:"[{"aa":"bb","cc":"dd"}]" json_encode($object,JSON_FORCE_OBJECT); //结果:"{"aa":"bb","cc":"dd"}" 阅读全文
posted @ 2019-01-12 13:50 chenlw101 阅读(12847) 评论(0) 推荐(0) 编辑
多表查询
摘要:一使用SELECT子句进行多表查询 SELECT 字段名 FROM 表1,表2 … WHERE 表1.字段 = 表2.字段 AND 其它查询条件 SELECT a.id,a.name,a.address,a.date,b.math,b.english,b.chinese FROM tb_demo065_tel AS b,tb_demo065 AS a WHERE a.id=b.id 注:在上面... 阅读全文
posted @ 2019-01-11 17:00 chenlw101 阅读(134) 评论(0) 推荐(0) 编辑


点击右上角即可分享
微信分享提示