On 7/29/06, BBC <[EMAIL PROTECTED]> wrote:
The error message: "could not resend header, header already sent in line.."

It isn't a bug.  What it's saying is completely accurate.  You can
only send header information to the browser once.  As soon as you
output *anything* (via echo/print), headers are sent.  So if you
output something, and then try the header() functions, you'll get your
error.

Make sure that your header() calls occur before any output.  Or you
can buffer and catch your output if you can't keep it from being spit
out before your header() calls.

HTH,
John W

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to