This Set-Cookie was blocked because it was not sent over a secure-connection and would have overwritten a cookie with Secure at...
阅读全文...
chrome浏览器访问http网址自动跳转https
chrome浏览器只要之前有”访问网站域名有做访问http网址自动跳转https处理“的历史记录,后面再通过http访问确实会有”访问http网址自动跳转https“问题,解决方法:1.地址栏输入: chrome://net-internals/#hst...
阅读全文...
阅读全文...
ueditor编辑器,多图多文件上传后,顺序乱掉的处理方法
/dialogs/attachment/attachment.js文件1.将 _this.fileList.push(json); 修改为 _this.fileList[$file.index()] = json;2.修改getInsertList 方法...
阅读全文...
阅读全文...
thinkphp 使用ssl 连接mysql 额外配置
database.php 中params 配置PDO::MYSQL_ATTR_SSL_CA=>'/var/lib/mysql/ca.pem',
PDO::MYSQL_ATTR_SSL_CERT=>'/var/lib/mysql/client-...
阅读全文...
阅读全文...
array_multisort 使用示例
多维数组按字段多次排序$arr = array();
for ($i = 1;$i<10;$i++){
$item = array();
$item['name'] = 'name-' . $i;
$item['number...
阅读全文...
阅读全文...