Yesterday, I followed a previous project. It is someone else, I have to take over, when I upgrade the server, I find the old problem. Originally the producer of this project violates a provision. He output HTML before the page jump, and HTML is also output before the cookie setting.
According to him, he considers no circumference, but it is strange that he actually shields Warning output (because it is not possible to continue to run), when upgrading the server yesterday,
I have forgotten it at the moment, and I opened PHP. Which switch in INI is in. Finally, it turned out to open output_buffering, set to Output_Buffering = ON, the default is OFF,
Once set to ON, you can output HTML before or before the cookie settings are set. Returned again, do not recommend this practice