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