-1

I am getting the "Cannot modify header information - headers already sent" error, and I do not know why. I have checked header.php and the files it includes. I think it has something to do with the session.

Header already sent error

Header function as used in the code

header.php, the page on which the error is triggered

PHP file which has a function which checks whether the user has logged in

Does anyone know how to fix the error in this case?

Loek
  • 1

0 Answers0