修改配置文件php.ini里面的session.name项的值,之后重启
Cannot Change Session when sesion is active 转
转自:https://www.bocchi.tokyo/2019/06/24/can-not-change-session-name/ 背景 最近把准备把项目直接从PHP5.6 升级到7.3。 升级过程中遇到个比较棘手的…
【原创】在第三方网站嵌入nextcloud21.0.0页面的方法
nextcloud系统默认是不允许自己的页面被其他网站以iframe的形式嵌入的 在这里可以将lib/private/legacy/OC_Response.php中的header('X-Frame-Options: SA…
国内访问国外网站的方法 2021
使用谷歌浏览器需下载谷歌访问助手2.3.0破解版,但现在访问助手不好用了,所以又尝试找了一些其他方法 可以在firefox浏览器安装Browsec VPN - Free VPN for Firefox扩展,即可访问谷歌网…
完美解决访问谷歌——谷歌访问助手 转
转自:https://www.whmblog.cn/web/142.html 留做备用,目前谷歌访问助手2.3.0破解版失效了
CENTOS7开机启动出现错误ENTERING EMERGENCY MODE,系统启动报错Failed to mount /sysroot解决方法 转
转自:https://blog.csdn.net/u013938484/article/details/82865744 xfs_repair -v -L /dev/dm-0(数字0) -L 选项指定强制日志清零,强制x…
X-Frame-Options说明 转
转自:https://www.cnblogs.com/cpw6/p/13214094.html iframe嵌入第三方系统时访问报错: in a frame because it set 'X-Frame-Options…
layui弹框皮肤主题 转
转自:https://blog.csdn.net/u010509052/article/details/79292040 弹出层插件layer确实很强大,官方提供主题太少,但是提供扩展的方式,由于项目使用统一颜色风格,就…
文本域输入的内容有换行,显示换行css
在style中加入样式:white-space: pre-line;
php7.0至php7.3的新特性和一些变化 转
转自:https://www.cnblogs.com/-mrl/p/12108308.html PHP7.0 PHP7.0新特性 1. 组合比较符 (<=>) 组合比较符号用于比较两个表达式。当$a小于、等于…
tp5 Db:name新增数据并返回主键值
tp5: insertGetId方法新增数据并返回主键值使用getLastInsID方法,相当于 Db::name('user')->insert($data); $userId = Db::name('user'…
解决bootstrap的button按钮点击之后会有蓝色边框的问题 转
转自:https://blog.csdn.net/weixin_30394633/article/details/95401902 .btn:focus,.btn:active:focus, .btn.active:fo…
margin顺序 参数不同 含义不同 转
转自:https://www.cnblogs.com/wangkongming/p/3204734.html margin: 20px;(上、下、左、右各20px。) margin: 20px 40px;(上、下20px…
css 实现圆形头像 转
转自:https://www.cnblogs.com/lhyhappy365/p/9306138.html 1、方法一 直接设置img为圆形,这种情况下如果图片不是正方形,图片会被拉伸 1 <img class="…
a标签内容在div中垂直居中 转
转自:https://www.cnblogs.com/petrolero/p/12796521.html <!doctype html> <html lang="en"> <head>…
php number_format 函数 转
转自:http://www.5idev.com/p-php_number_format.shtml PHP number_format() number_format() 函数:通过千位分组来格式化数字,返回格式化后的字…
layui动态获取表头 原创
情况稍复杂,表头的列是动态的,且字段名称也不固定 思路:首先ajax获取表头及字段名称,拼接数组,传到前端 获取整体数据时按照表头列名赋值 例如我是将动态列设置为property_动态id的方式 具体代码: (tp5实现…
layui table动态表头 前后端 转
转自:https://blog.csdn.net/sinat_31986807/article/details/87007953 https://blog.csdn.net/u011456813/artic…
关于layui:layui-table-表格动态表头列 转
转自:https://segmentfault.com/a/1190000038770849 function initTable() { $.ajax({ url: "getList", method: "post",…
layui-table动态列实现 转
转自:https://blog.csdn.net/Rec_Mervyn/article/details/105367817 基本思路: 从后台获取数据,处理成数组类型 声明一个二维数组,根据列需求动态添加元素作为动态列 …
thinkphp5.1获取视图渲染后的内容
$this->fetch()->getContent()
js 判断文字折叠(样式包含text-overflow: ellipsis属性) 转
转自:https://www.jianshu.com/p/8a8af56c25a8?utm_campaign=maleskine&utm_content=note&utm_medium=seo_notes…
谷歌浏览器edit this cookie插件下载
转自:https://chrome.zzzmh.cn/info?token=fngmhnnpilhplaeedifhccceomclgfbg
php设置cookie路径总结 转
转自:https://blog.csdn.net/weixin_39668571/article/details/115138552 http://localhost/test/cookie/father.php htt…
CSS实现单行、多行文本溢出显示省略号
转自:https://www.daqianduan.com/6179.html 如果实现单行文本的溢出显示省略号同学们应该都知道用text-overflow:ellipsis属性来,当然还需要加宽度width属来兼容部分…
SVN: 'xxxx' is scheduled for addition, but is missing解决方法
删除或在Windows系统上修改文件夹'xxxx'大小写之后,点commit提交出现如下提示: svn: Commit failed (details follow): svn: '/***' is scheduled …
php curl put方式提交请求 参数获取不到的解决方法
第一次使用curl的put方式传参,后端获取不到参数,查了许久,发现参数要做相应处理,如果传递的是数组,那么需要用http_build_query函数转换下,转换之后的参数是name=abc&sex=1的形式。 …
PHP CURL 发送GET POST PUT DELETE HTTP请求 整合 转
转自:https://blog.p2hp.com/archives/7057 <?php /** * json方式不支持GET方法 * @param $url * @param $data * @param arr…
NextCloud 编辑用户PUT方式提交出现998错误的解决方法
不论是在postman还是php代码中,都使用的key填写email ,值填写email内容的方式,总是得到998错误:nvalid query, please check the syntax. API specifi…