tp5 隐藏index.php 邓士鹏

Posted 林间有风

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了tp5 隐藏index.php 邓士鹏相关的知识,希望对你有一定的参考价值。

 

 邓士鹏-林间有风

 

tp5 隐藏index.php

--------------------------------------------------------------------------------------------

查看定时任务:

crontab -l

 

 

 

UI:   https://www.gaoding.com/design?id=687832321&mode=user

open
ssl https://www.kancloud.cn/lengyueguang/linux/1482379 【nb】

宾浩斯遗忘曲线算法及其它智能学习复习算法

fiddler抓包

Uniapp:总结:https://www.yuque.com/docs/share/89d7df74-0d9a-4cae-bafb-1282cd64e2de

Laravel6:总结:https://www.yuque.com/docs/share/85595555-d7c2-43bd-9cb4-9a7ce973f90f?# 《Laravel-learn笔记》

1. 股票+基金    :http://cn.morningstar.com/quickrank/default.aspx

2. 学习强国答案  :https://www.3gmfw.cn/article/html2/2019/10/20/495349.html

3. github    : https://github.com/

4. 微信公众平台  :https://mp.weixin.qq.com/wxamp/index/index?lang=zh_CN&token=335697985

5. phper 程序员专用共享资源平台composer  :https://www.phpcomposer.com/

6. Vue饿了么官网出品开源组件:https://element.eleme.cn/

7. 慕课imooc林间有风团队开源前端组件:
  1.案例demo  :http://face.cms.7yue.pro/

8. 国外-颜色渐变[调色专用] :https://webgradients.com/

9. Docker笔记【https://www.showdoc.cc/】    :https://www.showdoc.cc/help?page_id=65610

10. 阿里云正版图片  :https://pic.aliyun.com/image#/albums?albumId=20

11. 蓝灯(vpn极不推荐)  :https://github.com/getlantern/download  https://free-ss.site/

12. Astar VPN (自行安装谷歌助手后,去google商店搜索)

13. 草料二维码  :https://cli.im/url/info?77c0befc9a12661fd21bf4ed4f015a57

14. 免费商用字体:  https://izihun.com/

15. 外链博客 :https://guozh.net/free-copyright-font-download/

16.配色:  https://uiiiuiii.com/itag/%e9%85%8d%e8%89%b2
17. https://www.cnblogs.com/Renyi-Fan/p/9055971.html
18.
https://jianwai.youdao.com/

电脑
分区:C+D+E+F  _www/soft_dev     _www/soft_office  _www/soft_page

https://dbenlionelscottd.com/watch/?v=K8S8OvPhMDg

git 版本控制 https://www.sourcetreeapp.com/

标准色:  https://element.eleme.io/#/zh-CN/theme/preview


【redis】:
https://www.cnblogs.com/junyi-bk/p/10893462.html

https://www.runoob.com/redis/redis-php.html


【php-to-go】
1.https://hao.studygolang.com/

2.https://www.php2golang.com/

 

background: url(../img/195x356.png) no-repeat center center;background-size: 100% 100%;

transform:scale(0.7);
try_files $uri $uri/ /index.php?$query_string;
文档 图片设置大小
<img src="http://showdoc.boluoyunyu.com/server/../Public/Uploads/2020-12-22/5fe16d10bff42.png" width="200" height="350" alt="微信小程序"/><br/>

 

//  头像
                    if (empty($teacherinfo[0][\'avatar\'])) {
                        $teacherinfo[0][\'fphoto\'] = \'https://wx.boluoyunyu.com/Images/doctor_avatar/logo.jpg\';
                    } else {
                        $preg = "/^http(s)?:\\\\/\\\\/.+/";
                        if(preg_match($preg,$teacherinfo[0][\'avatar\'])) {
                            $teacherinfo[0][\'fphoto\'] = $teacherinfo[0][\'avatar\'];
                        } else {
                            $teacherinfo[0][\'fphoto\'] = $host . \'/jiandangshenqi/doctor/img/avatar/\' . $teacherinfo[0][\'avatar\'];
                        }
                    }

 

 

4个盘 
C:系统
D: _www    /_software      /office + /dev +/down
E: 办公存储
F: 开发

 

//                    if (!@fopen( $new_docker_list[$k][\'avatar\'], \'r\' )) {
//                        $new_docker_list[$k][\'avatar\'] = \'https://yu.com/Images/doctor_avatar/logo.jpg\';
//                    }


//if(strpos($v[\'avatar\'],\'http\') !==false || strpos($v[\'avatar\'],\'https\') !==false){
// $new_docker_list[$k][\'avatar\'] = $v[\'avatar\'];
// }else{
// $new_docker_list[$k][\'avatar\'] = $host . $doctor . $v[\'avatar\'];
// }

  

 

跨域:
header(\'Content-Type: Application/json\');

// 如果需要跨域,写在这里
header(\'Access-Control-Allow-Origin: *\');
header(\'Access-Control-Allow-Headers: Authorization,Referer, TRADETYPE , token-type,Content-Type, If-Match, If-Modified-Since, If-None-Match, If-Unmodified-Since, X-Requested-With,sign\');
header(\'Access-Control-Allow-Methods: GET, POST, PATCH, PUT, DELETE,OPTIONS\');

 

 

win nginx配置:隐藏index.php


if (!-e $request_filename) { rewrite ^(.*)$ /index.php?s=/$1 last; }

 


select
* from ys_2021_05 where message->\'$.msgId\' = 1621420117000 UPDATE ys_2021_05 SET message = JSON_REPLACE(message, \'$.avatarUrl\', \'pahp\') WHERE id = 2;

 

 

--------------------------------------------------------------------------------------------

 

<IfModule mod_rewrite.c>
  Options +FollowSymlinks -Multiviews
  RewriteEngine On

  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteRule ^(.*)$ index.php?/$1 [QSA,PT,L]
</IfModule>
-----------------------------------------------------------------

==================================================================
【宝塔面板-隐藏index.php方式】eg:——————【亲测100%有效!!!】

location /
{
  if (!-e $request_filename) {
    rewrite ^(.*)$ /index.php?s=/$1 last;
    break;

  }
}



 

 



==================================================================

 

 

以上是关于tp5 隐藏index.php 邓士鹏的主要内容,如果未能解决你的问题,请参考以下文章

TP5隐藏index.php

tp5隐藏index.php入口文件

TP5配置隐藏入口index.php文件,Apache/phpstudy

apache重定向到https和TP5的隐藏index重定向

关于URL隐藏index.php方法

关于tp5自动过滤index.php