PHP获取/判断HTML/网页的charset/编码
摘要:关于编码,这篇文章可以作为参考 https://www.cnblogs.com/Chary/p/13813750.html 99%的网页中有指定所使用的编码,而且格式规范,一般使用如下代码。个别网页不怎么规范,或者没有指定编码,所以需要稍作处理 <meta charset="utf-8"> <met
阅读全文
posted @
2022-02-14 22:00
伊索
阅读(588)
推荐(0) 编辑
7-Zip/7z命令行中英文对照说明
摘要:7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21 Usage: 7z <command> [<switches>...] <archive_name> [<file_names>...] [<@listfiles.
阅读全文
posted @
2022-02-13 02:26
伊索
阅读(657)
推荐(0) 编辑
常用解压缩软件打包速度比拼
摘要:https://my.oschina.net/anlve/blog/803762 https://peazip.github.io/peazip-compression-benchmark.html Ubuntu系统中,使用 zip \ rar \ 7z 命令打包dir1 dir2 dir3 三个含
阅读全文
posted @
2022-02-12 23:50
伊索
阅读(450)
推荐(0) 编辑
捕获PHP file_get_contents的错误
摘要:set_error_handler(function(
errseverity,err_msg,
errfile,err_line, array$err_context){ throw new ErrorException(
errmsg,0,err_severity, $er
阅读全文
posted @
2022-02-02 21:07
伊索
阅读(227)
推荐(0) 编辑
Apache2.4无法启动和PHP没有加载扩展到的解决方法
摘要:Apache2.4无法启动和PHP没有加载扩展到的解决方法 ● Apache2.4无法启动 ●● 症状: 双击 httpd.exe 正常,但是以服务方式无法启动,报错如下 > net start apache2.4 Apache2.4 服务正在启动 . Apache2.4 服务无法启动。 发生服务特
阅读全文
posted @
2022-02-02 07:12
伊索
阅读(1912)
推荐(0) 编辑