今天使用thinkphp 中做局部刷新时总是出现问题,按F12 用浏览器查看源码 报出的错误是
Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is ; to disable this feature and it will be removed in a future version.
我的ajax语法 是没什么错误吧,ajax语法就是这样玩的。根据错误提示 ,查找原因,说的是
$HTTP_RAW_POST_DATA= -1 出现问题,于是查找php.ini 中查找 找到这个地方 将;去掉