header() error not shown in php

后端 未结 3 1695
伪装坚强ぢ
伪装坚强ぢ 2021-01-27 12:20

I wrote a PHP program, I use session_start() and header() functions, I know I should use this functions before I sending anything to client. it\'s ok,

3条回答
  •  太阳男子
    2021-01-27 12:51

    You don't see the error because
    a. output buffering is on
    b. the server ignores your error_reporting function because something else instructs it otherwise run phpinfo(); and see what it says there about output buffering and about error_reporting.

提交回复
热议问题