关于本站
“最难不过坚持”
本人承接扒站仿站,php网站维护,病毒查杀,网站编辑,网站改版,html制作
有需要网站维护,改版,病毒查杀,网站编辑,网站备案,html制作等相关的工作可以联系我。
本人有多年相关工作经验,也可提供免费咨询,交个朋友。
有需要探讨问题的朋友,也可以加我微信,共同探讨!
微信:15011482830 QQ:408917339
2275
32
分类目录
最新评论
- <script>alert(11)</script>
-
- :kaixin: :haha:
-
- 666 :kaixin:
-
- 楼主很给力,请教了有一个问题,很细心给我解答,还帮我解决了问题。 :zhenbang: :zhenbang: :zhenbang:
-
- 厉害 :zhenbang: :zhenbang: :zhenbang:
-
文章标签更多
在使用$this->request->param()和$this->request->get()时,会多出路由地址参数
解决方法
更改/public/.htaccess文件
<IfModule mod_rewrite.c> Options +FollowSymlinks -Multiviews RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f #RewriteRule ^(.*)$ index.php?/$1 [QSA,PT,L] RewriteRule ^(.*)$ index.php [L,E=PATH_INFO:$1] </IfModule>
赏


相关推荐
tp6控制器不存在的解决方法:控制器不存在:app\controller\Index
当我们下载tp6,应用 多应用模式的时候,提示错误:控制器不存在:app\controller\Index,如图:
原因
多应用没有配置
解决方法
步骤如下:
(1)需要安装多应用模式扩展think-multi-app
进入项目根目录。我的路径是(切记改为自己的项目路径):D:\phpStudy\PHPTutorial\...
ThinkPHP6 整合PhpSpreadsheet 导出数据到excel
thinkphp6 整合PhpSpreadsheet 导出数据到excel
use PhpOffice\PhpSpreadsheet\Spreadsheet;
use PhpOffice\PhpSpreadsheet\Writer\Xlsx;
/**根据提交的时间导出数据**/
public function outda...
评论加载中...
后一篇: tp6路由规则<id>