上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 14 下一页
  2015年8月4日
摘要: 参考来源:http://www.zrblog.net/7027.htmlhttp://www.2cto.com/Article/201309/245198.htmlhttp://blog.163.com/dk_linux/blog/static/203226166201261323349658/ht... 阅读全文
posted @ 2015-08-04 10:06 bandbandme 阅读(283) 评论(0) 推荐(0) 编辑
  2015年7月31日
摘要: 来源地址:http://www.hongkevip.com/bianchengzhishi/PHP/36437.html 'xxxxx', //买卖安全校验码,用于签名的32位密钥 'transport' => 'https', //音讯验证地址运用拜访方式 ... 阅读全文
posted @ 2015-07-31 15:17 bandbandme 阅读(4049) 评论(0) 推荐(0) 编辑
  2015年7月19日
摘要: 计划任务中输出信息保留到文件,文件以日期自定义命名:/usr/bin/php xxxx/a.php >> /tmp/pushapplemsg/pushapplemsg_push_`date +\%Y\%m\%d`.status 阅读全文
posted @ 2015-07-19 11:17 bandbandme 阅读(168) 评论(0) 推荐(0) 编辑
  2015年7月18日
摘要: 官方说明地址: ​http://www.coreseek.cn/opensource/mmseg/词典文件所在位置: 本地管理地址:xxx/dict/new_dict.txt【 每次添加新的词,先更新此文件, 然后再把最新的词典文件scp上传到sphinx所在服务器上更新词库】 线上词库配置地址: ... 阅读全文
posted @ 2015-07-18 10:41 bandbandme 阅读(360) 评论(0) 推荐(0) 编辑
  2015年7月13日
摘要: zcat,bzcat 查看压缩文件中的内容并检索关键字 zcat txt.tar.gz | grep -a 'html' bzcat txt.tar.bz2 | grep -a 'html' grep -a --text #不要忽略二进制的数据。 sed -i 直接替换文件内容 sed -i 's# 阅读全文
posted @ 2015-07-13 17:03 bandbandme 阅读(586) 评论(0) 推荐(0) 编辑
  2015年7月2日
摘要: 两个条件,组合控制# if ($query_string ~* "mod=viewthread&tid=([0-9]+)((&highlight=(.*))|(&extra=(.*)))?$")# { # set $itid $1;# rewrite ^([^\.]*... 阅读全文
posted @ 2015-07-02 17:38 bandbandme 阅读(208) 评论(0) 推荐(0) 编辑
  2015年6月18日
摘要: $rootDir = './lib/Controller/Topic';$dirScan = scandir($rootDir);$urls = array();$c = 'Topic_';foreach ($dirScan as $secDir) { if (in_array($secDir... 阅读全文
posted @ 2015-06-18 17:54 bandbandme 阅读(749) 评论(0) 推荐(0) 编辑
  2015年5月30日
摘要: /** * 判断是否是手机访问 */ protected function isMobile() { if(isset($_REQUEST['from_m'])) return false; $userAgent = $_SERVER['H... 阅读全文
posted @ 2015-05-30 09:24 bandbandme 阅读(197) 评论(0) 推荐(0) 编辑
摘要: /**Cookie 读写类 读:Cookie.get(name) 写:Cookie.set(name, value, domain, ttl/*是否持久* /) 删除: Cookie.clear(name) 绑定Cookie变化事件 Cookie.change(functio... 阅读全文
posted @ 2015-05-30 08:51 bandbandme 阅读(206) 评论(0) 推荐(0) 编辑
  2015年5月5日
摘要: showMessage(); //输出异常信息。 } // 记录异常,定义不同类型异常处理class DbException extends Exception{ public function __construct ($message = '参数异常', $code = 0) { ... 阅读全文
posted @ 2015-05-05 11:17 bandbandme 阅读(258) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 14 下一页