上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 18 下一页
2015年4月19日
摘要: wdcp下安装svn后一直提示svnadmin:error while loading shared libraries: libaprutil-1.so.0:cannot open shared object file: No such file or directory解决办法vi /etc/l... 阅读全文
posted @ 2015-04-19 05:24 whlives 阅读(821) 评论(0) 推荐(0) 编辑
2015年4月15日
摘要: 定义一个function{function name=menu level=0} {foreach $data as $entry} {if is_array($entry)} {$entry@key} {call name=menu data=$entry leve... 阅读全文
posted @ 2015-04-15 23:01 whlives 阅读(187) 评论(0) 推荐(0) 编辑
2015年4月8日
摘要: vi /etc/sysconfig/iptables-A INPUT -m state –state NEW -m tcp -p tcp –dport 80 -j ACCEPT(允许80端口通过防火墙)特别提示:很多网友把这条规则添加到防火墙配置的最后一行,导致防火墙启动失败,正确的应该是添加到默认... 阅读全文
posted @ 2015-04-08 15:11 whlives 阅读(406) 评论(0) 推荐(0) 编辑
摘要: 1、查看你linux系统的位数,是32位的还是64位的。使用uname -a命令查看。显示有x86_64则说明你是64位内核, 跑的是64位的系统.i386, i686说明你是32位的内核, 跑的是32位的系统2、首先下载xampp的安装包。打开网址:https://www.apachefriend... 阅读全文
posted @ 2015-04-08 15:10 whlives 阅读(264) 评论(0) 推荐(0) 编辑
2015年4月1日
摘要: jQuery插件AjaxFileUpload用来实现ajax文件上传,该插件使用非常简单,接下来写个demo演示怎么用AjaxFileUpload插件实现文件上传。1、引入AjaxFileUpload插件相关的js备注:测试发现,ajaxfileupload对jQuery版本是有要求的,在使用中aj... 阅读全文
posted @ 2015-04-01 16:08 whlives 阅读(238) 评论(0) 推荐(0) 编辑
2015年3月27日
摘要: 因为在国内网络无法访问Google所以无法下载libevent-1.4.14b-stable.tar.gz和memcached-1.4.15.tar.gz解决办法:手动把https://github.com/downloads/libevent/libevent/libevent-1.4.14b-s... 阅读全文
posted @ 2015-03-27 20:40 whlives 阅读(175) 评论(0) 推荐(0) 编辑
摘要: 第一步,php.ini打开xdebug扩展xdebug.remote_enable=on; 此地址为IDE所在IPxdebug.remote_host=127.0.0.1xdebug.remote_port=19000; 可以是任意Key,这里设定为PHPSTORMxdebug.idekey="Ph... 阅读全文
posted @ 2015-03-27 13:54 whlives 阅读(488) 评论(0) 推荐(0) 编辑
2015年3月23日
摘要: as今天准备把网站搬迁到nginx上发现codeigniter框架在nginx上不能使用,后来发现是nginx不支持pathinfo,下面介绍怎么在nginx下开启pathinfo和去掉index.php 阅读全文
posted @ 2015-03-23 18:08 whlives 阅读(712) 评论(0) 推荐(0) 编辑
2015年3月12日
摘要: //判断是否属手机function is_mobile() { $user_agent = $_SERVER['HTTP_USER_AGENT']; $mobile_agents = Array("240x320","acer","acoon","acs-","abacho","ahon... 阅读全文
posted @ 2015-03-12 10:41 whlives 阅读(287) 评论(0) 推荐(0) 编辑
2015年3月11日
摘要: /*********************************************************************函数名称:encrypt函数作用:加密解密字符串使用方法:加密 :encrypt('str','E','nowamagic');解密 :encr... 阅读全文
posted @ 2015-03-11 21:17 whlives 阅读(357) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 18 下一页