上一页 1 2 3 4 5 6 7 8 9 10 ··· 24 下一页
摘要: 切换到拥有sudo权限的用户下。 输入命令"sudo vim /etc/sudoers"开始编辑/etc/sudoers文件。 找到"root ALL=(ALL) ALL"这一 行,在它下面添加"xxx ALL=(ALL) ALL"(这里的xxx是需要添加sudo权限的用户名),然后保存退出。因为是 阅读全文
posted @ 2020-01-13 09:47 pengcx 阅读(1059) 评论(0) 推荐(0) 编辑
摘要: public $bonus;//红包 public $bonusNum;//红包个数 public $bonusMoney;//红包总金额 public $moneySingleMax;//单个红包最大限制 public $moneySingleMin;//单个红包最小限制 /** * redPackageService constructor. * @param int $bonusNum * 阅读全文
posted @ 2020-01-03 16:36 pengcx 阅读(1269) 评论(0) 推荐(0) 编辑
摘要: 来源:https://www.cnblogs.com/tssc/p/10255590.html 目录 0.CGI的引入 1.关于CGI 1.1.什么是CGI? 1.2.CGI程序的工作原理 1.3.CGI程序的特点 1.4.CGI程序的应用领域 2.关于FastCGI 2.1.什么是FastCGI? 阅读全文
posted @ 2019-12-31 14:30 pengcx 阅读(284) 评论(0) 推荐(0) 编辑
摘要: 来源: https://blog.csdn.net/99guo/article/details/50635111 阅读全文
posted @ 2019-12-30 16:53 pengcx 阅读(2214) 评论(0) 推荐(0) 编辑
摘要: $dialModel = new dialModel(); $dialTable = $dialModel->order('num desc')->buildSql();//先排序 $list = $dialModel->table($dialTable .'as d') ->join(AMem::tableName('m'), 'd.user_id=m.id') ->field... 阅读全文
posted @ 2019-12-27 11:36 pengcx 阅读(1714) 评论(0) 推荐(0) 编辑
摘要: 1、添加水印,添加.ico图片水印会报错 2、添加文字水印,fontAwesome.otf、fontawesome-webfont.ttf会乱码;simkai.ttf可用 阅读全文
posted @ 2019-12-19 17:18 pengcx 阅读(450) 评论(0) 推荐(0) 编辑
摘要: <input type="number" onkeyup="this.value=this.value.replace(/\D/g,'')"> 阅读全文
posted @ 2019-12-10 14:21 pengcx 阅读(29255) 评论(0) 推荐(0) 编辑
摘要: $("#start_time").datetimepicker({ format: 'hh:ii', startView: 0, autoclose: true, language: 'zh-CN', }).on('click', function (ev) { var startTime = "{$data.start_time}"; //10位数的时间戳 if (startTime > 0) 阅读全文
posted @ 2019-12-10 14:01 pengcx 阅读(774) 评论(0) 推荐(0) 编辑
摘要: 来源:https://blog.csdn.net/NET_class/article/details/88745807 阅读全文
posted @ 2019-12-04 17:31 pengcx 阅读(9207) 评论(0) 推荐(0) 编辑
摘要: php获取前一个小时的时间: $mtime= date("Y-m-d H:i:s", strtotime("-1 hour")); php获取前一天的时间: $mtime= date("Y-m-d H:i:s", strtotime("-1 day")); php获取三天前的时间: $mtime= 阅读全文
posted @ 2019-11-26 09:37 pengcx 阅读(1948) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 24 下一页