$.post返回的json读取数据不存在

版权声明:本文为博主原创文章,遵循 CC 4.0 by-sa 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://blog.csdn.net/dangweijun123/article/details/72876843

Deprecated: Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set 'always_populate_raw_post_data' to '-1' in php.ini and use the php://input stream instead. in Unknown on line 0

Warning: Cannot modify header information - headers already sent in Unknown on line 0

Warning: Unknown: Cannot send session cache limiter - headers already sent in Unknown on line 0


解决办法: 修改 php.ini 文件中 always_populate_raw_post_data = -1  把注释去掉



这样就解决了

展开阅读全文

没有更多推荐了,返回首页