ThinkPHP group count 如果用sql语句来写group by 再count,这样的sql太容易 了。但由于现在都是在用框架,反而这类sql变得难写了... 2016-08-17 · PHP
宁可错杀3000,不可放走一个 看到这个,应该明白了吧 delete from sablog_comments where visible =0 and content REGEXP '^{6} ' 定期... 2016-08-07 · PHP
composer引用本地git做为源库 PHP使用者大多对composer是又爱又恨,爱的是composer require后,很多类库不用去下载了,恨的是网速卡成翔... 2016-05-05 · PHP
Composer的Illegal offset type in isset or empty 标题的内容也是手贱导致的,本来composer不self-update也不会出现这个问题,这不,一升到最新的composer就... 2016-03-30 · PHP
The file or directory to be published does not exist: vendor/bower/jquery/dist 标题所说的问题可能早期用户都遇到过。但其实这个问题在官方也早就有解决方案了,不知道为什么还有人问起。... 2016-01-22 · PHP
imageworkshop中的position的说明及代码 position有9个点:lt,mt,rt,lm,mm,rm,lb,mb,rb,其实对应的是几个英文:lt(left top),mt(middle top),rt(ri... 2015-10-20 · PHP
access-control-allow-origin-multiple-origin-domains 原文来自:http://stackoverflow.com/questions/1653308/access-control-allow-origin-multiple-origin-dom... 2015-09-07 · PHP
aliyun的dotdeb源有BUG 纯笔记做个记录 1、http://mirrors.aliyun.com/ ,这是阿里的源 2、这是dotdeb的说明:http://mirrors.aliy... 2015-07-06 · PHP
curl上传注意事项【新】 众所周知,用curl上传只要设置4个变量即可(非HTTPS网站),那就是curlopt_url,curlopt_post,curlopt_retur... 2015-06-19 · PHP