Re: [SMARTY] How to change HTTP headers
| From: | Sven Kesting | Date: | Fri, 23 Sep 2005 17:53:52 +0000 |
| Subject: | Re: [SMARTY] How to change HTTP headers | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-13054@lists.php.net to get a copy of this message | ||
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
Attachment: [application/pkcs7-signature] smime.p7s
Hi. I want to change HTTP headers to insert PHP command: header("Content-type: text/html; charset=utf-8"); ...
Attachment: [application/pkcs7-signature] smime.p7s