• support@answerspoint.com

How to fix “Headers already sent” error in PHP

1517

When running my script, I am getting several errors like this:

Warning: Cannot modify header information - headers already sent by (output started at /some/file.php:12) in /some/file.php on line 23

The lines mentioned in the error messages contain header() and setcookie() calls.

What could be the reason for this? And how to fix it?

  • PHP

  • asked 9 years ago
  • B Butts

0Answer


Your Answer

    Facebook Share        
       
  • asked 9 years ago
  • viewed 1517 times
  • active 9 years ago

Best Rated Questions