240 发简信
IP属地:北京
  • MVC 错误处理

    普通controller的错误处理 BaseController 重写 OnException,其他controller继承该BaseContr...

  • app拉起微信小程序支付相关的问题

    拉起的时候sdk需要3个参数 : app在开放平台的 appid,小程序的原始id (gh_xxxx) , 小程序的路径(提前在小程序后台配置...

  • X 删除 unicode

    ✖ works really well. The HTML code is ✖. An alternative is &#x2715: ✕

  • jquery form submit required 不起作用

    这种时候如果需要激活一些 input 的 required等原生属性,需要这个按钮是form相关的按钮。比如 button input[type...

  • imagick 的安装和用法

    安装 imagemagick 官方网站 https://imagemagick.org/ 查看有没有安装成功 查看可转换的格式 安装 imagi...

  • php 制定目录禁止解析php的方式

    在相应的目录下生成 .htaccess 并添加 ···php_flag engine off···

  • 修改mysql 5.7 root 密码

    不知道原密码的情况下修改mysql root密码5.7以下可以用mysqld_safe ,搜索一大堆。centos7 mysql5.7开始修改m...

  • Content-Security-Policy

    HTTP 响应头Content-Security-Policy允许站点管理者控制用户代理能够为指定的页面加载哪些资源。除了少数例外情况,设置的政...