attachements

Headers for MSOffice 2007 / 97 Download with PHP

We're trying to send uploaded attachements (served from a database as blob) through php with Zend Framework to a client. This code works fine for Excel97 / Word97. if ($this->getResponse()->canSendHeaders(false)) { $response = $this->getResponse(); $response->setHeader('Pragma', 'public', true) ...