问答详情
源自:1-10 PHP验证码制作之汉字验证码实现

无法验证,一提交就出现这个问题,怎么解决啊??

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

提问者:PhoenixFu 2016-04-30 16:54

个回答

  • 张旖旎
    2016-05-17 08:58:58
    已采纳

    header函数前面的代码不能有任何输出语句,不然就会报这样的错误

  • qq_NewWorld_1
    2018-04-13 17:47:24

    胡乱说