"Olafur Jakobsson" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> does not work. A typical error msg is 'Warning: Cannot add header
> information - headers already sent by
This is a FAQ question - once you write ANY
non-header data, no more header data can be
sent. There are two solutions: one is, make
sure your headers get sent first; second is, enable
output buffering (which takes care of headers
automatically).
If you're doing the first, note that your php
opener must start at the very beginning of the
file, ie the opening <?php must start at
the first character of the first line, and the
same must be true for any include'd or
require'd files.
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]