Source Code:
(back to article)
<?php // This will cause the error because output has already been sent to the browser echo "Hello, world!"; // This will not work because headers have already been sent setcookie("test", "value");
Result:
Report an issue