转自https://blog.csdn.net/qq_34495753/article/details/78662200 https://blog.csdn.net/qq_38280150/article/details…
xampp 添加mysql服务后 提示Can't create test file xxx lower-test
在mysql文件夹中搜索ini文件,mysql/data文件夹中的my.ini中路径是默认路径,修改为实际路径既可。
Redis在Php项目中的实际应用场景 转
转自 https://www.cnblogs.com/tdalcn/p/10483975.html https://www.cnblogs.com/dump/p/8243868.html 前言 一些案例中有的同学说为什么…
数据库大批量SQL插入性能优化 转
https://blog.csdn.net/qq_28137309/article/details/80934251 https://blog.csdn.net/qq_22855325/article/details/7…
ThinkPHP5 CSV导入导出
转自https://blog.csdn.net/qq_37138818/article/details/81189240
layui 表格渲染之后 搜索框保留值 并异步获取子分类
<form class="layui-form"> <div class="layui-inline"> <div class="layui-input-inline"> <se…
layui的文件上传设置自定义的文件格式 转
转自https://blog.csdn.net/qq_40389276/article/details/101205755 以|分割,设置多个文件后缀 upload.render({ elem: '#sc_file', …
php+html5实现文件断点续传 转
转自https://blog.csdn.net/xueling022/article/details/52885777 一、一些知识准备 断点续传,既然有断,那就应该有文件分割的过程,一段一段的传。 以前文件无法分割,但…
layui 表单和文件上传一起传到后台
转自https://blog.csdn.net/qq_38083665/article/details/86608667 <form class="layui-form"> <div class="la…
layui 中select下拉change事件失效的解决方法 转
转自https://www.jb51.net/article/170431.htm 1.select中添加 lay-filter=“test” 1 <select lay-filter="test"><…
按钮的Ajax请求时一次点击两次提交的解决方法 转
转自https://www.jb51.net/article/93452.htm 页面中的按钮的type是submit的: <input type="submit" value="Create" id="submi…
layui数据表格自定义每页条数limit
table.render({ elem: '#data_grid' //,width: 900 //,height: 274 ,cols: [[ //标题栏 {field: 'id', title: 'ID', widt…
ACL&RBAC的比较 转
转自https://my.oschina.net/zjllovecode/blog/1600923
关闭layer打开的弹窗
var index = layer.alert(data.message, { icon: 0, skin: 'layer-ext-moon' }, function() { layer.close(index); })…
让thinkphp5不缓存编译模版 转
转自https://blog.csdn.net/qq_40624496/article/details/80791203 在config.php文件的模版配置里面添加一个cache_tpl的配置。 'template' …
配置虚拟主机(apache)之后,localhost(127.0.0.1)服务 根目录打不开方案
解决方法如下: 一:httpd-vhosts.conf 文件加以下配置 <VirtualHost _default_:80> //关键地方!_default_ 必须加!!如果和其他虚拟域名一样用 * 会连接不…
数据迁移工具报错1067 Invalid default value for 'end_time'
[InvalidArgumentException] There was a problem creating the schema table: SQLSTATE[42000]: Syntax erro r or ac…
redis实现简单的消息队列(php)
https://my.oschina.net/OSrainn/blog/732972?from=singlemessage&isappinstalled=1
thinkphp5.1配置常量与输出 转
转自:https://blog.csdn.net/dongzhensong/article/details/83583487 1.环境:thinkPhp5.1 重要!! TP5.1对比TP5.0有较多不同。 2.注意:T…
ThinkPHP5.1 数据库迁移migration与数据填充Faker的使用 转
转自https://blog.csdn.net/Especial_/article/details/101771992 之前在用Laravel写项目的时候发现数据库迁移和数据填充很好用,由于新的项目需要使用TP5.1框架…
ThinkPHP 5.1使用 migrate 迁移和填充数据库 转
转自https://www.bobcoder.cc/index/post/detail/id/145.html 首先,准备工作当然是安装 compose ,但是在这里我就不给大家讲解了,有兴趣的朋友可以…
获取select选中选项的文本值
$("#selectId").find("option:selected").text()
tp5.1输出log
\think\facade\Log::write(1111111111111111111111111);
thinkphp5.1 多文件上传报错 SplFileObject::__construct(/tmp/phpvfQPvQ)解决方法 转
转自https://blog.csdn.net/qq_40270754/article/details/85005353 分析:这个不是上传文件的最大值的问题,而是由于linux系统自动清除临时文件的愿意造成的 &nbs…
分库分表(垂直分库,垂直分表,水平分库,水平分表)
转自https://www.jianshu.com/p/304f17784845
Windows将apache和MySQL设置为系统服务
cmd cd到apache的bin目录下 httpd -k install -n "Apache" cd到mysql的bin目录下 mysqld.exe -install 卸载mysql服务 …
xampp apache启动不了 80端口未占用 解决
系统安装了SVN的Service端,占用443端口