上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 34 下一页
摘要: XHProf是一个分层PHP性能分析工具。 阅读全文
posted @ 2020-04-15 16:58 没事就更 阅读(119) 评论(0) 推荐(0) 编辑
摘要: 定义和用法 filter_var() 函数通过指定的过滤器过滤变量。 如果成功,则返回已过滤的数据,如果失败,则返回 false。 语法filter_var(variable, filter, options)参数 描述variable 必需。规定要过滤的变量。filter 可选。规定要使用的过滤器 阅读全文
posted @ 2020-04-07 17:18 没事就更 阅读(501) 评论(0) 推荐(0) 编辑
摘要: 打点统计——1(nginx的配置) 需要统计的页面都导入js统计代码,根据要统计的信息访问统计服务器api地址 要统计的内容举例: (ip什么的就不上报了,交给nginx) 然而真实的统计代码是要做容错处理的,比如说一个页面套一个页面的时候会不会统计两次,要不要加全局锁,防止调用一次以后再调用统计多 阅读全文
posted @ 2020-04-07 17:06 没事就更 阅读(1290) 评论(0) 推荐(0) 编辑
摘要: 1、执行 lnmp add vhost 2、添加域名 3、是否添加其他域名 4、项目地址 一般放在home下 5、是否添加重定向规则 6、是否记录access_log ,是的话 选择默认的路径就好 7、 是否创建一个与项目同名的mysql 创建成功了 进入查看 vim use/local/nginx 阅读全文
posted @ 2020-04-07 14:12 没事就更 阅读(468) 评论(0) 推荐(0) 编辑
摘要: https://www.php.cn/php-weizijiaocheng-395926.html 阅读全文
posted @ 2020-04-07 11:52 没事就更 阅读(127) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/alen_xiaoxin/article/details/80255766 阅读全文
posted @ 2020-04-07 11:35 没事就更 阅读(988) 评论(0) 推荐(0) 编辑
摘要: 1 /** 2 * 生成不带横杠的UUID 3 * @return string 4 */ 5 public static function genuuid() 6 { 7 return sprintf('%04x%04x%04x%04x%04x%04x%04x%04x', 8 // 32 bits 阅读全文
posted @ 2020-03-16 19:32 没事就更 阅读(727) 评论(0) 推荐(0) 编辑
摘要: 转载weixin_34357962 最后发布于2018-03-30 14:30:00 阅读数 204 收藏 展开 $a = [1,2,3]; $b = [2,3,7,1,5]; $arr3 = array_merge(array_diff($a,$b),array_diff($b,$a)); 阅读全文
posted @ 2020-03-12 19:22 没事就更 阅读(1114) 评论(0) 推荐(0) 编辑
摘要: select parttime_job_business_assessments.*, u.nick_name, u.mobile, pj.name as job_name, b.name as business_name from `parttime_job_business_assessment 阅读全文
posted @ 2020-03-03 13:59 没事就更 阅读(2633) 评论(0) 推荐(0) 编辑
摘要: 都知道使用静态的CDN引入jQuery等一些js包的时候,会提升网页的性能,那么,如果你引入CDN的地址挂掉了,那么项目同样也会挂掉,所以我们需要在引入的时候添加一个判断。如下: <script src="http://cdn.static.runoob.com/libs/jquery/1.10.2 阅读全文
posted @ 2020-02-24 11:53 没事就更 阅读(2087) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 34 下一页