摘要:
1.查看开机自启项centos7自启项已不用chkconfig改为:systemctl list-unit-files左边是服务名称,右边是状态,enabled是开机启动,disabled是开机不启动。 当然还可以过滤一下 比如:查看启动项systemctl list-unit-files | gr 阅读全文
2019年8月17日 #
2019年7月26日 #
摘要:
NameVirtualHost *:80 <VirtualHost *:80> ServerName test.baidu.com ProxyPreserveHost on ProxyPass / http://127.0.0.1:19725/ ProxyPassReverse / http://1 阅读全文
2019年7月22日 #
摘要:
建立autostart.sh文件 在/etc/rc.d/rc.local文件尾部添加sh /etc/rc.d/init.d/autostart.sh 阅读全文
2019年7月17日 #
摘要:
// 2018/2/13 00:26:00.000 function format_date($date, $format='Y-m-d H:i:s') { if(empty($date)) return $date; $arr = preg_split("/[\s\/:.-]+/", $date); $year = intval($arr[0]); $month... 阅读全文
2019年7月3日 #
摘要:
测试 测试结果 脱敏函数 参考: https://blog.csdn.net/leyangjun/article/details/81742530 阅读全文
2019年6月15日 #
摘要:
Download the Microsoft Drivers for PHP for SQL Server https://docs.microsoft.com/en-us/sql/connect/php/download-drivers-php-sql-server?view=sql-server 阅读全文
摘要:
use myDBgo create schema myschema --先建立go alter schema myschema transfer dbo.myTable --移动对象至建立的schema下go 阅读全文
2019年5月8日 #
摘要:
setSearch($_POST); $list = $biz->loadAll(); $this->setVar('list', $list); $this->setVar('ExpandedRowCount', count($list)+1); $this->startDownload('在库_'.date('Ymd').'.xls'); echo "... 阅读全文
摘要:
getActiveSheet(); $array = array( array("规格型号", "产品编号", "描述", "入库数量", "出库数量", "当前库存"), array($spec, $no) ); $objSheet->fromArray($array); $filename = '在库数据20190508.xls'; $this->startDownload(... 阅读全文
2019年4月13日 #
摘要:
一. 在ecs上准备好mysql客户端命令 二. 开启抓包,抓包方法如下:Linux 平台: 1. 打开一个到ECS的ssh连接,并以root身份登录。在该窗口运行下列命令tcpdump -i any -n -s 0 -w /var/tmp/1.cap port 3306 三. 用mysql命令链接 阅读全文