摘要: 前提条件 “证书状态”为“已签发”。 已下载SSL证书,具体操作请参见下载证书。 约束条件 证书安装前,务必在安装SSL证书的服务器上开启“443”端口,同时在安全组增加“443”端口,避免安装后仍然无法启用HTTPS。 如果一个域名有多个服务器,则每一个服务器上都要部署。 待安装证书的服务器上需要 阅读全文
posted @ 2021-05-27 11:32 85541585 阅读(336) 评论(0) 推荐(0) 编辑
摘要: PHP: $b=preg_replace("/[\r\n]+/", '##', $a)将变量a中的换行符替换为## $str=$data;$order=array("\r\n","\n","\r");$replace='<br/>';$newstr=str_replace($order,$repla 阅读全文
posted @ 2021-04-26 22:06 85541585 阅读(292) 评论(0) 推荐(0) 编辑
摘要: UPDATE user_info SET id_card=REPLACE(id_card,CHAR(13),''); char(10): 换行符 char(13): 回车符 阅读全文
posted @ 2021-04-23 14:01 85541585 阅读(426) 评论(0) 推荐(0) 编辑
摘要: function() use() { } $newdate=date('Y-m-d H:i:s',strtotime("-$v1[1] day")); $data['list']=Db::name('apply') ->where('sbid', 'IN', function ($query) us 阅读全文
posted @ 2021-03-09 22:49 85541585 阅读(549) 评论(0) 推荐(0) 编辑
摘要: <select name="e_id" id="e_id" class="selectpicker" data-live-search="true" multiple > <option disabled>请选择</option> <option value="">文字</option> </sel 阅读全文
posted @ 2021-02-11 13:37 85541585 阅读(2439) 评论(0) 推荐(0) 编辑
摘要: 跳转传参sessionreturn redirect('/aa')->with('auth',$login);跳转带参数一定要加exit();redirect('/aa/aa?list=5')->send(); exit(); 阅读全文
posted @ 2021-01-23 22:10 85541585 阅读(662) 评论(0) 推荐(0) 编辑
摘要: 首先分别下载Apache、mysql与php: Apache下载地址:https://www.apachehaus.com/cgi-bin/download.plx php下载地址:https://windows.php.net/download#php-7.0 php non-thread-saf 阅读全文
posted @ 2021-01-18 17:53 85541585 阅读(210) 评论(0) 推荐(0) 编辑
摘要: #serializeArrayvar dataParam = $("#updateChannelForm").serializeArray();例如我想添加sex="男"dataParam.push({"name":"sex","value":"男"}); #serializevar dataPar 阅读全文
posted @ 2020-12-21 16:56 85541585 阅读(472) 评论(0) 推荐(0) 编辑
摘要: selectpicker设置选中 $('#app_attr').selectpicker('val', ldata.app_attr); 阅读全文
posted @ 2020-12-11 09:52 85541585 阅读(121) 评论(0) 推荐(0) 编辑
摘要: <?phpnamespace app\admin\controller;use think\Controller;use think\Db;//IDdefined('AppId') or define('AppId', '用户ID');//keydefined('AppKey') or define 阅读全文
posted @ 2020-11-22 18:59 85541585 阅读(342) 评论(0) 推荐(0) 编辑