Content-type not working in PHP

后端 未结 13 2144
时光说笑
时光说笑 2020-12-09 12:16

I have some issues with a PHP file that is not working properly. The Content-type does not get recieved by any browser at all. Firebug interprets the file as text/html inste

13条回答
  •  萌比男神i
    2020-12-09 13:00

    output_buffering = Off in php.ini was the reason for me why it keeps sending Content-Type = text/html. Setting it to 1 solves it.

提交回复
热议问题