- 博客(5)
- 资源 (9)
- 收藏
- 关注
原创 sphinx使用篇
source source_content{ type = mysql sql_host = 192.168.20.140 sql_user = root sql_pass = 123456 sql_db = test sql_port = 3306 # optional, default is 3306 sql_query_pre = SET NA
2014-12-26 16:50:35 701
原创 yii联表查询
$criteria = new CDbCriteria; $criteria->join = "JOIN hm_live_catalog on t.catalog_id=hm_live_catalog.id"; $criteria->addColumnCondition(array('hm_live_catalog.os' => 1)); $crit
2014-12-25 17:36:09 1149
转载 Solr的一些查询参数
fl: 是逗号分隔的列表,用来指定文档结果中应返回的 Field 集。默认为 “*”,指所有的字段。defType: 指定query parser,常用defType=lucene, defType=dismax, defType=edismaxq: query。q.alt: 当q字段为空时,用于设置缺省的query,通常设置q.alt为*:*。qf: query fields,指
2014-12-23 20:09:30 1027
转载 php论坛中常用的两个时间差(多少分钟前,多少小时前,多少天前)
<?php@ini_set('date.timezone', 'Asia/Shanghai');@ini_set('display_errors', 1);header('Content-Type:text/html;charset=utf-8');class Time{ public static function times($btime) { $re
2014-12-09 15:53:05 2045
转载 CentOS下php安装mcrypt扩展
转自-http://www.cnblogs.com/huangzhen/archive/2012/09/12/2681861.html注意nginx的环境需要重启php-fpm 218 service php-fpm restart 221 /usr/local/nginx/sbin/nginx -s reload(以下步骤均为本人实际操作,可能与你的安装方
2014-12-01 17:59:09 529
Zend Studio 12.5.1 x86 x64通用破解补丁+注册码
2016-04-07
svn_linux_教程_软件
2013-07-17
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人