上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 24 下一页
摘要: php中提供了两个内置的回调函数call_user_func()、call_user_func_array()。 这两个函数的区别是: call_user_func_array(callable $callback,array $param_arr)是以数组的形式接受回调函数和参数的。 call_u 阅读全文
posted @ 2017-11-04 11:56 Yxh_blogs 阅读(357) 评论(0) 推荐(0) 编辑
摘要: #使用军哥的lnmp配置虚拟主机,需要注意的是要配置hosts文件(这一点官方没有讲到)具体方法:1、修改hosts文件sudo vim /etc/hosts2、在hosts文件中新增一行(这里类似于windows上配置hosts文件)127.0.0.1 www.baidu.com3、保存并重启网络 阅读全文
posted @ 2017-10-29 11:26 Yxh_blogs 阅读(868) 评论(0) 推荐(0) 编辑
摘要: 一、配置编译环境 yum update && yum upgrade yum groupinstall "Development Tools" yum install gcc gcc-c++ pcre* openssl* gd-devel* zlib-devel pcre-devel libxml2 阅读全文
posted @ 2017-09-07 18:59 Yxh_blogs 阅读(447) 评论(0) 推荐(0) 编辑
摘要: 一、下载nginx安装包,官网下载中心http://nginx.org/download [root@localhost software]# wget http://nginx.org/download/nginx-1.10.1.tar.gz 二、解压nginx安装包 [root@localhos 阅读全文
posted @ 2017-09-07 15:20 Yxh_blogs 阅读(428) 评论(0) 推荐(0) 编辑
摘要: 今天和大家分享一个国外的图片上传插件,这个插件支持分片上传大文件。其中著名的七牛云平台的jssdk就使用了puupload插件,可见这个插件还是相当牛叉的。 这个插件不仅仅支持图片上传,还支持大多数文件的上传,例如视频文件,音频文件,word文件等等,而且大文件都采用分片上传的机制。 Pluploa 阅读全文
posted @ 2017-08-21 21:13 Yxh_blogs 阅读(13157) 评论(3) 推荐(1) 编辑
摘要: 在windwo server2008服务器上配置ftp服务器、及配置phpstrom工具、实现项目同步。 在windwo server2008服务器上配置ftp服务器 参考该篇文章:http://blog.csdn.net/u010022051/article/details/52046345 在p 阅读全文
posted @ 2017-08-09 11:38 Yxh_blogs 阅读(328) 评论(0) 推荐(0) 编辑
摘要: function isMobile(){ $useragent=isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : ''; $useragent_commentsblock=preg_match('|\(.*?\)|' 阅读全文
posted @ 2017-08-04 14:34 Yxh_blogs 阅读(642) 评论(0) 推荐(0) 编辑
摘要: 1:查看环境: [root@10-4-14-168 html]# cat /etc/redhat-release CentOS release 6.5 (Final) 2:关掉防火墙 [root@10-4-14-168 html]# chkconfig iptables off 3:配置CentOS 阅读全文
posted @ 2017-08-02 14:41 Yxh_blogs 阅读(213) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>星级评分--封装成jquery插件</title> </head> <style type="text/css"> body,ul,li{ margin: 0; padding: 阅读全文
posted @ 2017-07-23 22:42 Yxh_blogs 阅读(214) 评论(0) 推荐(0) 编辑
摘要: 笔者在开发时发现,thinkphp5的自带redis类方法,只有简单的读取缓存、写入缓存的基本方法,远不能满足我们业务的需求。redis本身支持五种数据类型,string(字符串)、hash(哈希)、list(列表)、set(集合)、zset(有序集合)。redis的东西就不必再介绍了,接下来还是让 阅读全文
posted @ 2017-07-23 15:11 Yxh_blogs 阅读(16860) 评论(1) 推荐(3) 编辑
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 24 下一页