[Typo3-dev] Correct way for special headers

Kraft Bernhard kraftb at mokka.at
Tue Jan 4 17:00:28 CET 2005


Christian Lerrahn wrote:
> Hi!
> 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?

As long as you just want to set HTTP Headers and not want to set the
HTTP OK/ERR message use the php function
header("Location: index.php");

gritz from kitz,
Bernhard




More information about the TYPO3-dev mailing list