// 排行榜 public function ranklist(){ $type = $this->_get('type','trim'); $this->assign('type',$t…
- PHP
- 2019-06-08
在实际项目中,经常会遇到编码不正确引发的各种问题!这样就非常容易出现乱码或截取长度的时候截取的不正确,如果简单的用iconv函数转码的话,有时又无法保证对方传过来的一定是某种编码。 举个例子:我现在的…
- PHP
- 2019-03-28
PHP7,编译安装: 环境:centos7.2 (注意:因为我用的nginx, 此配置参数没有考虑到apache,所以不合适需要用apache的朋友照搬过去运行,但是可以参考。) php版本参照官网选…
- Linux
- 2019-01-10
$where[] = ['create_time', 'between time', [$start_time, $end_time]]; 或 $where['create_time'] = ['be…
- Thinkphp
- 2018-09-11
最新评论