上一页 1 2 3 4 5 6 7 8 9 10 ··· 40 下一页

I方法 thinkphp

摘要: function I($name,$default=null,$filter=null,$datas=null) { static $_PUT = null; $default_filter='htmlspecialchars'; if(strpos($name,'/')){ // 指定修饰符 li 阅读全文
posted @ 2016-03-09 18:32 liuwenbohhh 阅读(237) 评论(0) 推荐(0)

hash

摘要: <?phpfunction calc_hash_db($u, $s = 3) { $h = sprintf("%u", crc32($u)); $h1 = intval(fmod($h, $s)); return $h1; } for($i=1;$i<10000;$i++) { echo calc_ 阅读全文
posted @ 2016-03-09 18:31 liuwenbohhh 阅读(112) 评论(0) 推荐(0)

redis配置文件中文解释

摘要: # redis 配置文件示例 # 当你需要为某个配置项指定内存大小的时候,必须要带上单位, # 通常的格式就是 1k 5gb 4m 等酱紫: # # 1k => 1000 bytes # 1kb => 1024 bytes # 1m => 1000000 bytes # 1mb => 1024*10 阅读全文
posted @ 2016-02-19 10:46 liuwenbohhh 阅读(683) 评论(2) 推荐(0)

nodejs爬虫

摘要: 前言 几个月之前,有同事找我要PHP CI框架写的OA系统。他跟我说,他需要学习PHP CI框架,我建议他学习大牛写的国产优秀框架QeePHP。 我上QeePHP官网,发现官方网站打不开了,GOOGLE了一番,发现QeePHP框架已经没人维护了。API文档资料都没有了,那可怎么办? 毕竟QeePHP 阅读全文
posted @ 2016-02-12 19:30 liuwenbohhh 阅读(377) 评论(0) 推荐(0)

nusoap

摘要: PHP SOAP服务器 用PHP和NuSoap来建立SOAP服务器非常容易。基本上,你只要写出你想要暴露给你的Web services的函数,然后用NuSoap去注册它们就可以了。OK,另外还需要两步才能完成PHP SOAP服务器的建立。首先你还要在你的PHP代码中创建NuSoap对象的一个实例,然 阅读全文
posted @ 2016-02-12 10:14 liuwenbohhh 阅读(253) 评论(0) 推荐(0)

from xml

摘要: /** * 将xml转为array * @param string $xml * @throws WxPayException */ public function FromXml($xml) { if(!$xml){ throw new WxPayExce... 阅读全文
posted @ 2016-01-26 15:39 liuwenbohhh 阅读(148) 评论(0) 推荐(0)

gogs安装

摘要: 1.下载gogs文件,如果图方便可以选择编译好的文件网址https://gogs.io/docs/installation/install_from_binary2.gogs web运行gogs3.采用你的网址:3000安装gogs4查看你的gogs页面 阅读全文
posted @ 2016-01-26 15:17 liuwenbohhh 阅读(214) 评论(0) 推荐(0)

netbeans环境搭建

摘要: 1.下载文件http://pan.baidu.com/s/1kUu52mV2.安装。3.设置字体颜色,原先的太亮,我设置了保护色,参照sublime我设置的字体高亮效果http://pan.baidu.com/s/1gdWXgjD4.导入高亮效果 阅读全文
posted @ 2016-01-26 15:06 liuwenbohhh 阅读(151) 评论(0) 推荐(0)

gogs安装

摘要: go get下载安装,下载不了的在这里下载build后安装https://gopm.io/download 阅读全文
posted @ 2016-01-22 09:37 liuwenbohhh 阅读(103) 评论(0) 推荐(0)

iftop ifstat

摘要: ifstat介绍ifstat工具是个网络接口监测工具,比较简单看网络流量实例默认使用#ifstat eth0 eth1 KB/s in KB/s out KB/s in KB/s out 0.07 0.20 0... 阅读全文
posted @ 2016-01-06 09:22 liuwenbohhh 阅读(225) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 10 ··· 40 下一页