Note Submitter: miha dot wagner at gmail dot com
----
To avoid the "Headers already sent" error, I just use output buffering:
<?php
// Set output buffering
ob_start();
// Print something
print "Hello World!";
// Set a cookie?
setcookie("name", "value", time()+9999);
// Or send a header
header("Location: http://www.php.net/");
// Everything works!
?>
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.