Snippets tagged “headers-already-sent”
1 snippet uses this tag.
- setcookie, Cannot modify header information - headers already sentPHP
The error message "Cannot modify header information - headers already sent" typically occurs when a PHP script attempts to send a cookie or redirect the user's browser to a different page, but some output has already been sent to the browser.