|
HAWHAW automatically creates the correct mime-type in the HTTP response header according to the detected browser. The HTTP header has to be created before any other content is sent. When your application initiates some output, PHP will create a standard header with a mime-type text/html by default. When then HAWHAW tries to create the appropriate header command, it's too late: Header and output are already sent out, there's no way to modify the header afterwards. HAWHAW applications should never use commands like echo or printf because all required output is done by HAWHAW when you call the HAW_deck's object function create_page(). Make sure that there are not empty lines in your script outside of your PHP tags. One single blank character or carriage return before <?php can be enough to create the wrong HTTP header.
more
|
|
HAWHAW automatically creates the correct mime-type in the HTTP response header according to the detected browser. The HTTP header has to be created before any other content is sent. When your application initiates some output, PHP will create a standard header with a mime-type text/html by default. When then HAWHAW tries to create the appropriate header command, it's too late: Header and output are already sent out, there's no way to modify the header afterwards. HAWHAW applications should never use commands like echo or printf because all required output is done by HAWHAW when you call the HAW_deck's object function create_page(). Make sure that there are not empty lines in your script outside of your PHP tags. One single blank character or carriage return before <?php can be enough to create the wrong HTTP header.
more
|
What means the PHP warning "Cannot add header information - headers already sent ..."?
Related Questions
- Output header. The output header is an optional one line of text which you can enter into the Output Header ...
- The long headers are a feature of our Mailman mailing list software. They provide helpful information about ...
- Window headers are supports found on the upper portion of the window casing. Generally, the supports are at ...
- A door header is a support which is built in above a door, and it may be known simply as a “header.” Windows ...
- Headers are one of the easiest bolt-on accessories you can use to improve an engine's ...