php - The strangest thing with ob_start and headers -
ob_start and not all headers work on my webpage. I searched my whole code and I could not find anything wrong. Then I removed all my code and placed a header position at the top of the document and it still did not work, so I made a new document, copied the code from the old document and then suddenly started working it.
Do you understand why this incident happens?
Which editor did you use? I had to face this problem with Notepad ++ 5.x too. In my case, I changed document encoding of ASCII from UTF-8 and everything worked.
Comments
Post a Comment