上一页 1 2 3 4 5 6 7 8 ··· 18 下一页
摘要: 查看cron日志 : tail -f /var/log/cron在/home下建立对应用户的文件夹,这里是nginx 阅读全文
posted @ 2021-03-26 15:50 不一样的开始 阅读(1002) 评论(0) 推荐(0) 编辑
摘要: 1.Nginx服务安装 nginx 不区分主备,在两台服务上安装两个即可。 安装参考:https://www.cnblogs.com/zwcry/p/9454647.html 2.Keepalived服务安装 keepalived 区分主备、多主多备的。 keepalived 多主多备 是把 单主单 阅读全文
posted @ 2021-03-10 10:42 不一样的开始 阅读(504) 评论(0) 推荐(0) 编辑
摘要: 1.strstr(string $str,mixed $needle[, bool $before_needle = FALSE ]) 参数 $str 输入的字符串 $needle 查找的字符串, $before_needle 布尔值 $str = 'abc@yui' echo strstr($st 阅读全文
posted @ 2021-02-26 11:21 不一样的开始 阅读(107) 评论(0) 推荐(0) 编辑
摘要: 一、数组的一些关于键名和值的基础操作函数1.获取数组所有的键或值:array_keys() array_values() $arr_keys = array_keys($array);$arr_values = array_values($arr); 2.交换数组中键和值的位置,若重复前面的会被后面 阅读全文
posted @ 2021-02-26 11:19 不一样的开始 阅读(165) 评论(0) 推荐(0) 编辑
摘要: git archive -o export0203.zip 7c62e670 $(git diff --name-only 37e6ded 7c62e670) git archive -o export0203.zip 打包到git log的 结束位置 $(git diff --name-only 阅读全文
posted @ 2021-02-07 11:34 不一样的开始 阅读(286) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2021-01-13 18:33 不一样的开始 阅读(128) 评论(0) 推荐(0) 编辑
摘要: /** * 发送HTTP请求方法 * @param string $url 请求URL * @param array $params 请求参数 * @param string $method 请求方法GET/POST * @return array $data 响应数据 */ function ht 阅读全文
posted @ 2021-01-12 11:31 不一样的开始 阅读(346) 评论(0) 推荐(0) 编辑
摘要: function arrayToXml($arr) { $xml = "<xml>"; foreach ($arr as $key=>$val) { if (is_numeric($val)){ $xml.="<".$key.">".$val."</".$key.">"; }else{ $xml.= 阅读全文
posted @ 2021-01-12 11:30 不一样的开始 阅读(105) 评论(0) 推荐(0) 编辑
摘要: 下载 PHPExcel 放到tp中 vendor("PHPExcel.PHPExcel"); vendor("PHPExcel.Reader.Excel2007"); $objPHPExcel = new \PHPExcel(); //这里要注意‘\’ 要有这个。因为版本是3.1.2了。 $objW 阅读全文
posted @ 2021-01-06 10:41 不一样的开始 阅读(180) 评论(0) 推荐(0) 编辑
摘要: $xk_whitelist = DB::table('mld_xk_whitelist') ->where(['kh_type' => 1, 'cstm_id' => $member_info->cstm_id]) ->orderByRaw(DB::raw('FIELD(type, 2,3,0,1) 阅读全文
posted @ 2020-11-26 18:24 不一样的开始 阅读(2081) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 18 下一页