Tag Archives: dispatch

Disable layout and modify HTTP response headers (Zend Framework)

Suppose you want to send an XML file or an image to a user. Your controller would need to disable the layout (if there is one enabled) and change its headers.

Posted in PHP | Also tagged , , , , , | Leave a comment