
权限问题,请将红圈位置取消打勾。
权限问题,请将红圈位置取消打勾。
thinkphp的模版引擎,把渲染结果返回到变量中,而不直接输出到浏览器.
想用来整理渲染html转PDF
public function index() { ob_start();//打开缓冲区输出 $html = View::fetch(); ob_end_flush(); return $html . "OK"; }
原理是在要输出浏览器的部分使用ob清除掉。
1、创建一个控制器
php think make:controller admin/Devicedebug
2、创建一个CURD模块
php think crud -t paneldevice -c paneldevice -r centerdevice -k centerdevice_id -p id
paneldevice表中的centerdevice_id 连接到centerdevice表中的id
官方文档地址:https://doc.fastadmin.net/doc/crud.html
3、前端CSS框架文档
https://v3.bootcss.com/css/#grid-media-queries
4、Thinkphp5开发手册
1、页面调整
redirect('/admin/index')->send();
1、修改文件权限
chattr -i .user.ini
2、删除文件
rm -rf .user.ini
参考文档:https://www.kancloud.cn/manual/thinkphp6_0/1037481
一、安装Composer
curl -sS https://getcomposer.org/installer | php mv composer.phar /usr/local/bin/composer
二、安装稳定版thinkphp
在WEB的根目录运行以下指令
composer create-project topthink/think tp
he Process class relies on proc_open, which is not available on your PHP installation. The archive may contain identical file names with different capitalization (which fails on case insensitive filesystems) Unzip with unzip command failed, falling back to ZipArchive class
putenv() has been disabled for security reasons
安装成功!