宝塔面板Nginx下设置指定目录禁止运行PHP的方法
phpthree 2个月前 (11-27) 68浏览
在宝塔面板后台-网站,点击你需要设置的网站设置 QQ截图20180726155817 配置文件里面。找到 #PHP-INFO-START PHP引用配置,可以注释或修改,在它上面添加: location ~* /(data|templets|upl...
phpthree 2个月前 (11-27) 68浏览
在宝塔面板后台-网站,点击你需要设置的网站设置 QQ截图20180726155817 配置文件里面。找到 #PHP-INFO-START PHP引用配置,可以注释或修改,在它上面添加: location ~* /(data|templets|upl...
phpthree 1年前 (2019-12-26) 408浏览
https://blog.csdn.net/sunsnow_swift/article/details/53435965 具体步骤: 以3.2版本为例,具体步骤如下: 1、复制项目入口文件 index.php...
phpthree 2年前 (2019-07-16) 924浏览
https://blog.csdn.net/21aspnet/article/details/47451253 转载请注明:phph5博客 » Linux环境PHP5.5以上连接SqlServer2008【全网最经典无错版】...
phpthree 3年前 (2018-07-13) 703浏览
1、firewalld的基本使用 启动: systemctl start firewalld 查看状态: systemctl status firewalld 停止: systemctl disable firewalld 禁用: systemctl...
phpthree 3年前 (2018-07-02) 1093浏览
cd /alidata/www/haha/ & /alidata/server/php-5.5.7/bin/php think tui 转载请注明:phph5博客 » thinkphp crontab...
phpthree 3年前 (2018-06-29) 1050浏览
加密函数:输入参数字符串,返回机密字符串。 Coding::tiriEncode(String) 解密函数:输入上边函数的加密结果,反解到加密前字符串 Coding::tiriDecode(String) 特点: 1.同一个输入,每次输出都不...
phpthree 3年前 (2018-06-27) 1024浏览
新浪提供了长链接转为短链接的API,可以把长链接转为 t.cn/xxx 这种格式的短链接。 API: http://api.t.sina.com.cn/short_url/shorten.json (返回结果是JSON格式) http://ap...
phpthree 3年前 (2018-06-16) 1063浏览
https://lvtao.net/ 转载请注明:phph5博客 » 轻量级的PHP数据库框架, 提高开发效率!...
phpthree 3年前 (2018-06-14) 1427浏览
在项目开发中需要Thinkphp5读取多个数据库的数据,我的已经成功了在这里介绍一下,只需要简单的几步 database.php是框架默认的数据库配置,里面写数据库1的信息,新建了个database2.php是放置数据库2的信息。 创建完数据库2之...
phpthree 3年前 (2018-04-19) 1349浏览
<?php $memcache = new Memcache; //创建一个memcache对象 $memcache->connect('localhost', 11211) or die ("Could not ...