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

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

php - jQuery AJAX Post not working -