[Typo3-dev] Correct way for special headers
Wolfgang Klinger
wolfgang at stufenlos.net
Tue Jan 4 17:18:29 CET 2005
Hello!
On Tue, 04 Jan 2005, Christian Lerrahn wrote the following:
> I've tried to get an answer to this question in the Typo3 documentation
> but I just couldn't find any. If a Typo3 extension has to write it's on
> HTTP header, like e.g. for a secure download, what is the correct way to
> implement that? Am I supposed to use a special script for that that's
> explicitly executed?
No, you can do that in one of your plugins too...
simply add the header with the "header" function,
output whatever you need to (e.g file content) and
call exit(); afterwards...
bye
Wolfgang
More information about the TYPO3-dev
mailing list