上一页 1 2 3 4 5 6 ··· 10 下一页
摘要: 阅读全文
posted @ 2023-03-28 16:07 叫我亚庆 阅读(41) 评论(0) 推荐(0) 编辑
摘要: 前奏:php需大于5.5 ,修改php.ini中phar.readonly 1.首先建立文件目录,src放源码 2. build为打包执行文件, build.php的代码如下 <?php //产生一个siam.phar文件 $phar = new Phar('siam.phar', 0, 'siam 阅读全文
posted @ 2023-03-20 11:32 叫我亚庆 阅读(49) 评论(0) 推荐(0) 编辑
摘要: //find_in_set $model->where('find_in_set(:cid,rc)', ['cid' => 9])->select(); //replace替换 搜索(10,12), 原(10),新(9) $model->where('id',1)->update([ 'rc' => 阅读全文
posted @ 2023-03-15 10:50 叫我亚庆 阅读(193) 评论(0) 推荐(0) 编辑
摘要: 通俗大白话,彻底弄懂 https 原理本质 相信很多人,对 https 的过程弄不清楚,只是知道 https 是安全加密的,背后的原理,过程并不清楚 笔者曾经也是对 https 的过程并不清楚,一知半解,而且最可气的是每次面试,面试官很可能就问你这个问题 每次都答不对或者答的面试官不满意,说来说去, 阅读全文
posted @ 2023-03-14 14:46 叫我亚庆 阅读(42) 评论(0) 推荐(0) 编辑
摘要: <?php namespace app\api\library; /** * PHP实现jwt */ class Jwt { //头部 private static $header=array( 'alg'=>'HS256', //生成signature的算法 'typ'=>'JWT' //类型 ) 阅读全文
posted @ 2023-03-04 11:22 叫我亚庆 阅读(19) 评论(0) 推荐(0) 编辑
摘要: 在宝塔目录:/www/server/panel/install/php.sh 中包含了全部的安装php命令,可以找到php7.3的。 然后用ssh运行 bash /www/server/panel/install/php.sh install 7.3 卸载用ssh命令:bash /www/serve 阅读全文
posted @ 2023-02-16 11:24 叫我亚庆 阅读(453) 评论(0) 推荐(0) 编辑
摘要: //组合 public function asb() { $source = array('A','B','C','D'); sort($source); //保证初始数组是有序的 $last = count($source) - 1; //$source尾部元素下标 $x = $last; $co 阅读全文
posted @ 2023-02-06 10:24 叫我亚庆 阅读(19) 评论(0) 推荐(0) 编辑
摘要: 学习: TED(最优质的演讲):https://www.ted.com/ 谷粉学术:https://gfsoso.99lb.net/scholar.html 大学资源网:http://www.dxzy163.com/ 简答题:http://www.jiandati.com/ 网易公开课:https: 阅读全文
posted @ 2023-02-04 11:41 叫我亚庆 阅读(350) 评论(0) 推荐(0) 编辑
摘要: 哈哈哈,哈哈哈,很早之前想过会断更,没想到,没有一点的征兆,突然就,啪叽,好几个月没 主要呢,前一段时间忙(好吧好吧,我忘了,哈哈哈), 后来呢,抽空回家结了个婚(快撒欢), 休了一个为期俩月的婚假呢(其实是郑州疫情,被困在家) 然后呢,还有啥然后,就忙于,哎呀,反正就是最近有点躺平了,所有呢, 就 阅读全文
posted @ 2022-12-17 10:46 叫我亚庆 阅读(5) 评论(0) 推荐(0) 编辑
摘要: <?php namespace app\api\service; use app\request\Test; class TestService extends Test implements \JsonSerializable { private $a; private $b; /** * Doc 阅读全文
posted @ 2022-08-08 18:27 叫我亚庆 阅读(29) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 10 下一页