Purple Moogle
New member
It's likely that you either left whitespace before your opening <?PHP tag, or you tried to send a header using either header() or setcookie() after calling print().
You can either modify your script to ensure that you only call header modifying functions before using print() OR you can use output buffering, which caches everything until the end of the script and then outputs. To use output buffering, call ob_start() before calling print() and then optionally call ob_flush() at the end of your script (after any HTML as well).
You can either modify your script to ensure that you only call header modifying functions before using print() OR you can use output buffering, which caches everything until the end of the script and then outputs. To use output buffering, call ob_start() before calling print() and then optionally call ob_flush() at the end of your script (after any HTML as well).