phpstudy安装ThinkPHP5框架 步骤: 1,进入ThinkPHP官网,下载完整版本:http://www.thinkphp.cn/ 2,解压出下载的 ThinkPHP 复制所有文件 3,在 phpstudy 安装路径下的找到 www 文件夹,新建 tp5 文件夹,将解压的所有 Think
转载 2020-03-28 16:57:00
491阅读
2评论
代码】thinkphp5框架的nginx配置。
原创 2022-08-14 00:34:55
241阅读
thinkphp使用
原创 2019-05-02 11:00:27
1139阅读
这里使用的是最新版本的thinphp 6.0
转载 2021-08-02 14:03:39
336阅读
这里使用的是最新版本的thinphp 6.0
原创 2021-08-02 14:03:56
427阅读
php报错PHP Warning:  require(): open_basedir restriction in effect. File(/home/wwwroot/xxx.com/vendor/autoload.php) is not within the allowed path(s): (/home/wwwroot/xxx.com/public/:/tmp/:/proc/) in /ho
转载 2018-11-20 09:52:00
476阅读
2评论
Windows版安装a)使用composer create-project topthink/think testTG,来安装thi
原创 2022-08-18 12:01:59
253阅读
ThinkPHP5 隐藏index.php问题 thinkphp模板输出cookie,session中…
原创 2021-07-09 15:08:24
283阅读
混杂模式 $where = []; array_push($where, 'create_user_id=4 or create_user_id=17'); array_push($where, 'province like "山%"'); $where['city'] = array('=', '济南'); ...
原创 2021-08-13 01:01:54
494阅读
1.利用composer安装 composer create-project topthink/think=5.0.* tp5 --prefer-dist tp5下载的文件名 ...
转载 2021-08-10 13:52:00
327阅读
2评论
thinkphp5 扩展redis Linux搭建redis php搭建redis第一步:Linux搭建redis新人小白,在自己服务器上想搭个redis玩玩,百度到了一堆坑。搭建redis需linux服务器安装redis(百度的方法大部分都是win下) 下面附教程。亲测(以下文章自己测试后细节讲解)1.下载地址:wget http://download.redis.io/releases/red
转载 2023-08-22 16:34:56
457阅读
ThinkPHP与Workerman喜结连理
原创 2017-06-21 17:49:48
8497阅读
1点赞
1评论
thinkphp5 left join 一、总结 1、作用:left join就是即使不匹配也返回左表中的数据 2、join使用通式:object join ( mixed join [, mixed $condition = null [, string $type = 'INNER']] ) 弄
转载 2018-05-04 15:59:00
673阅读
thinkphp5内置标签 知道内置标签怎么用,查手册的时候好查 却功能的时候在里面找着来用 内置标签一览 记住名字是内置标签,然后找的时候好找,这些都是在视图或者模板页面调用 volist 这是标签的属性都是双引号,就是写在html页面的东西,双引号 比较标签 实例 if标签
转载 2018-04-16 23:27:00
221阅读
首先,要导入request包:use think\Request;thinkphp5 有三种方式获取 request// 第一种方式:Request::instance();public function getRequest2(){ // use think\Request; $request = Request::instance(); return dum...
原创 2022-01-09 17:45:59
809阅读
赞赏码 非学,无以致疑;非问,无以广识
PHP
转载 2018-01-08 12:05:00
152阅读
2评论
php
转载 2021-06-24 10:22:35
179阅读
自己写的权限管理,大致思路:用户登陆成功之后,查出该用户的权限列表,并把权
Finance::where('id', '=', 4)->update([ "payment_name" => "范科华2" ]);生成sqlUPDATE `5kcrm_oa_finance` SET `payment_name`='范科华2' WHERE `id` = 4闭包查询:$report = Repor...
原创 2021-08-13 01:01:34
305阅读
php上手超快的框架querylist4文档地址:​​https://querylist.cc/docs/guide/v4/installation​​安装tp5.1,composer命令安装 composer create-project topthink/think tp5安装querylist4(环境php>7.0 )composer require jaeger/query
原创 2022-08-18 12:25:36
113阅读
  • 1
  • 2
  • 3
  • 4
  • 5