Re: [SMARTY] How to change HTTP headers

Sven Kesting <[email protected]>
Newsgroups gmane.comp.php.smarty.general
Message-ID <[email protected]>
I'd put the header line in a php-script, the header has to be set  
before any output ist sent to the browser.
I usually put the utf-8 header in my config file, which is included  
by all scripts.

I think, putting the header in a template is too late, since output  
to the browser already started.

greets, Sven

> Hi.
>
> I want to change HTTP headers to insert PHP command:
> header("Content-type: text/html; charset=utf-8");
>
> ...
smime.p7s (application/pkcs7-signature, 2.3 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.