[TYPO3-mvc] More magic needed: disableAllHeaderCode in easy?

Xavier Perseguers typo3 at perseguers.ch
Mon Jun 1 09:29:26 CEST 2009


Hi,

Steve Ryan wrote:
> Hi Susanne,
>    I've occasionally used
> 
> echo "myoutput";
> exit;
> 
> instead of a different page type although it seems to me that setting up 
> a page type with header data disabled as you suggested is the way to go.

Yes, I did that recently to let users download a generated Excel file. 
Send headers and simply exit. This is a bit rude but works actually ;-)

Regards

-- 
Xavier Perseguers
http://xavier.perseguers.ch/en

One contribution a day keeps the fork away


More information about the TYPO3-project-typo3v4mvc mailing list