Welcome Guest, Not a member yet? Register   Sign In
[Solved]Session problem "headers already sent" when using UTF-8 encoding
#1

[eluser]Rick Jolly[/eluser]
Has anyone experienced a problem when using sessions and UTF-8 encoding? With Notepad++ ANSI works fine, but not UTF-8. I've used native sessions and CI sessions with the same results.

EDIT: Found the solution - save in UTF-8 without BOM (byte order marks). BOMs get added before the <?php tag.

Note to self: search first! The solutions to all of life's problems exist on the CI forums.




Theme © iAndrew 2016 - Forum software by © MyBB