文章分类 -  web nginx php

Bootstrap 表格内容水平、垂直居中
摘要:Bootstrap 表格内容水平、垂直居中 水平居中 为 td th 设置text-align: center即可 需要注意的是:th 默认的样式为内容居左,td 则没有,所以直接在 th 的父标签 tr上添加 class="text-center"是无效的 这是无效的 <tr class="tex 阅读全文

posted @ 2020-12-17 17:25 ZhYQ_note 阅读(2343) 评论(0) 推荐(0)

Bootstrap table cell 宽度调整
摘要:https://mdbootstrap.com/snippets/jquery/ascensus/135599#html-tab-view 根据内容变更 Table columns with text-nowrap With class .text-nowrap you can specific h 阅读全文

posted @ 2020-12-17 17:00 ZhYQ_note 阅读(218) 评论(0) 推荐(0)

mac nginx php-fpm 开启关闭重启
摘要:通过brew安装nginx 和 php, 可以通过查看所有服务 brew services list 然后启动 sudo brew services start nginx sudo brew services start php@7.2 brew services restart php@7.2 阅读全文

posted @ 2020-12-16 11:17 ZhYQ_note 阅读(186) 评论(0) 推荐(0)

web:php 调用shell命令包含中文-导致命令无效
摘要:passthru($set_charset . "hg commit -m" . '"' . $message . '"'); $message 中含有中文 1、同样的命令,在命令行模式下可以运行成功 2、但是通过web调用请求,在php后端脚本中执行就无效 原因:环境编码问题 解决: $set_c 阅读全文

posted @ 2020-08-04 16:23 ZhYQ_note 阅读(173) 评论(0) 推荐(0)

mac: PHP-FPM 无法停止,停止后自动重启
摘要:https://segmentfault.com/q/1010000016529403 阅读全文

posted @ 2020-07-20 17:06 ZhYQ_note 阅读(269) 评论(0) 推荐(0)

企业微信群机器人
摘要:http://support.mingdao.com/hc/kb/article/1381328/ https://m.php.cn/blog/detail/13699.html 阅读全文

posted @ 2020-06-18 15:17 ZhYQ_note 阅读(121) 评论(0) 推荐(0)

HTML5 File API
摘要:HTML5 File API简介 https://gist.github.com/stefankendall/1850796 阅读全文

posted @ 2019-06-19 14:07 ZhYQ_note 阅读(50) 评论(0) 推荐(0)

PhpStorm Xdebug远程调试环境搭建原理分析及问题排查
摘要:原文地址:http://xxlegend.com/2017/05/23/PhpStorm%20Xdebug%E8%BF%9C%E7%A8%8B%E8%B0%83%E8%AF%95%E7%8E%AF%E5%A2%83%E6%90%AD%E5%BB%BA%E5%8E%9F%E7%90%86%E5%88% 阅读全文

posted @ 2019-06-17 17:43 ZhYQ_note 阅读(204) 评论(0) 推荐(0)

最详细的phpstorm+xdebug调试详细教程,没有之一
摘要:原文地址:https://blog.csdn.net/yinhangbbbbb/article/details/79247331 花了一周多时间最详细的整理了PHPSTORM+XDEBUG的调试教程,实现了php程序的远程调试、单步调试、跟踪等高级功能。工欲善其事必先利其器,希望对需要的小伙伴有所帮 阅读全文

posted @ 2019-06-17 17:13 ZhYQ_note 阅读(282) 评论(0) 推荐(0)

聊一聊HTML <pre>标签
摘要:原文地址:https://www.cnblogs.com/wengxuesong/p/5541924.html 聊一聊HTML <pre>标签 我们经常会在要保持文本格式的时候使用pre标签,比如当我们要展示源代码的时候,只要放一个pre标签,然后把源代码直接复制,粘贴,然后在页面上就可以保持好格式 阅读全文

posted @ 2019-06-12 15:33 ZhYQ_note 阅读(194) 评论(0) 推荐(0)

php: ignore_user_abort 设置与客户机断开是否会终止脚本的执行。
摘要:原文地址:https://www.cnblogs.com/wgw8299/articles/2170092.html https://www.kancloud.cn/xiak/php-node/491960 阅读全文

posted @ 2019-06-05 16:51 ZhYQ_note 阅读(107) 评论(0) 推荐(0)

php excel操作
摘要:php操作excel依赖于第三方开源库,以前是PHPExcel,现在他们团队放弃了PHPExcel,开发了新的 PhpSpreadsheet 1、PhpSpreadsheet 参考文档+github 地址 https://phpspreadsheet.readthedocs.io/en/latest 阅读全文

posted @ 2019-06-04 17:00 ZhYQ_note 阅读(81) 评论(0) 推荐(0)

Prevent multiple PHP scripts at the same time
摘要:防止 php 脚本同一时间多次运行 1、原文地址:https://www.exakat.io/prevent-multiple-php-scripts-at-the-same-time/ Prevent multiple PHP scripts at the same time Like every 阅读全文

posted @ 2019-05-22 10:59 ZhYQ_note 阅读(138) 评论(0) 推荐(0)

php: Cannot find Class with PHP Namespace
摘要:原文地址:https://stackoverflow.com/questions/8610729/cannot-find-class-with-php-namespace 阅读全文

posted @ 2019-05-15 15:40 ZhYQ_note 阅读(127) 评论(0) 推荐(0)

php 使用系统剪切板pbcopy and pbpaste
摘要:原文地址:https://stackoverflow.com/questions/29181038/how-to-copy-string-to-system-clipboard-with-php-which-runs-as-client-side 上面的可以修改为: 2、 Pasteboard 阅读全文

posted @ 2019-05-14 17:16 ZhYQ_note 阅读(568) 评论(0) 推荐(0)

Convert a SimpleXML object to an associative array
摘要:2、或者直接 (array)xmlObject 阅读全文

posted @ 2019-05-07 14:17 ZhYQ_note 阅读(57) 评论(0) 推荐(0)

window.open post传参
摘要:原文地址:https://stackoverflow.com/questions/17793183/how-to-replace-window-open-with-a-post 阅读全文

posted @ 2019-04-24 11:05 ZhYQ_note 阅读(384) 评论(0) 推荐(0)

PhpStorm 中 Twig Live Templates扩展
摘要:PhpStorm 中 Twig Live Templates扩展1、https://github.com/barrelstrength/PhpStorm-Live-Templates-Twig-Extended按照这个网站的说明进行安装2、因为这个live指示在 twig 后缀的文件中才生效,所以我 阅读全文

posted @ 2019-04-18 15:43 ZhYQ_note 阅读(343) 评论(0) 推荐(0)

php 查找php配置文件php.ini所在路径的二种方法
摘要:【已解决】CentOS 7中PHP配置文件php.ini的放在哪个位置 php 查找php配置文件php.ini所在路径的二种方法 阅读全文

posted @ 2019-04-09 19:55 ZhYQ_note 阅读(171) 评论(0) 推荐(0)

Mac 打造 PHP 开发环境
摘要:Mac 打造 PHP 开发环境 ***** 全新安装 Mac OS Sierra (10.12) 并使用 HomeBrew 安装 ZSH + MNMP (Mac + Nginx + MySQL + PHP) 开发环境 Install PHP 7.2 + xdebug on MacOS High Si 阅读全文

posted @ 2019-04-09 19:39 ZhYQ_note 阅读(75) 评论(0) 推荐(0)

导航