- 博客(2)
- 收藏
- 关注
原创 Thinkphp5 $_ENV为空
$_ENV会为空,其原因通常是php的配置文件php.ini的配置项为:variables_order = "GPCS"。 要想让$_ENV的值不为空,那么variables_order的值应该加上一个大写字母“E”,即:variables_order = "EGPCS"。 亲测有效,你们试试吧!
2017-07-04 14:12:41
1100
转载 PHP获取上周、本周、上月、本月、本季度、上季度时间方法大全
/**date 2015-04-11 * author http://www.lai18.com **/ echo date("Ymd",strtotime("now")), "\n"; echo date("Ymd",strtotime("-1 week Monday")), "\n"; ech
2017-06-09 10:34:04
335
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人