Is it possible to use multiple header types in one document? For example:
header(\"Content-type: image/jpeg\");
header(\'Content-Type: text/html; charset=utf
You can't use both at the same time, but you could optionally use one or the other based on a query parameter or similar.
In regards to using both types of content in one page - in a normal HTML page with elements, for example, those are separate HTTP requests so they have their own Content-Type header.
Not exactly sure what you're trying to achieve here...