好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

thinkphp怎么隐藏.php

'URL_MODEL'   => 2,  // URL访问模式,可选参数0、1、2、3,代表以下四种模式:

三、在入口文件index.php处创建.htaccess文件,添加一下内容

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

四、重启apache即可

以上就是thinkphp怎么隐藏.php的详细内容!

查看更多关于thinkphp怎么隐藏.php的详细内容...

  阅读:46次

上一篇: php pdf如何转word

下一篇:php如何隐藏图片