最近捣鼓了一个wordpress网站,好不容易有些搜索量,而且有好几个词排名还比较靠前,没过多久就被黑客盯上了,首页index.php 一直被篡改,他改好不到一天,就又被篡改,修改了文件权限也不行,关了FTP,SSH,修改了后台密码,修改了服务器密码,杀毒软件查杀....各种方法试了个遍。但问题依旧。&n...
在linux服务器部署thinkphp5的时候PHP报了这个错误,如下: Warning: require(): open_basedir restriction in effect. File(/www/wwwroot/zhuyuyun/thinkphp/start.php) is not within the allowed path...
在linux服务器部署thinkphp5的时候PHP报了这个错误,如下:Warning: require(): open_basedir restriction in effect. File(/www/wwwroot/zhuyuyun/thinkphp/start.php) is not within the allowed path(s): (...
基础命令 :https://www.runoob.com/docker/docker-command-manual.html下边仅列出常用操作,1> 查看docker Container 列表:docker ps -a 注意:docker 状态必须2> 进入某一个docker,就是一个小的虚拟机(Container):do...
路由的作用:1. 简化URL地址,方便大家记忆2. 有利于搜索引擎的优化,比如可以被百度的爬虫抓取到 优化URl1. 前后端分离修改入口文件,在public下新建admin.php文件,将下面的代码添加进入 1 // 定义应用目录 2 3 define('APP_PATH', __DIR__ . '/../application/'); 4...
1. PDFLIB TET http://www.pdflib.com/en/download/tet/2. PDF Parser http://www.pdfparser.org/3. XPDF http://www.foolabs.com/xpdf...
1 include require include_once require_once 的 区别?处理失败方式不同: require 失败时会产生一个致命级别错误,并停止程序运行。 include 失败时只产生一个警告级别错误,程序继续运行。 include_once/require_once 和 include/re...
经常会有人被strtotime结合-1 month, +1 month, next month的时候搞得很困惑, 然后就会觉得这个函数有点不那么靠谱, 动不动就出问题. 用的时候就会很慌…这不, 刚刚就有人在微博上又问我:鸟哥,今天是2018-07-31 执行代码: date("Y-m-d",strtotime("-1...
下载地址:https://github.com/samacs/simple_html_dom一直以来使用php解析html文档树都是一个难题。Simple HTML DOM parser 帮我们很好地解决了这个问题。可以通过这个php类来解析html文档,对其中的html元素进行操作 (PHP5+以上版本)。解析器不仅仅只是帮助我们验证html文档...
vnd.ms-excel.numberformat:@数字格式转换:1) 文本:vnd.ms-excel.numberformat:@ 2) 日期:vnd.ms-excel.numberformat:yyyy/mm/dd 3) 数字:vnd.ms-excel.numberformat:#,##0.00 4) 货币:vnd.ms-...