On Thu, Dec 27, 2012 at 5:26 AM, Javier Garcia <[email protected]> wrote: > I have just created a code to create a pdf and download it, but.. how can i > see in the browser instead of downloading?
Make sure you set the Content-Type response header to "application/pdf". If you do, typically the browser will open it directly if it supports that mime type. -- Matthew Weier O'Phinney Project Lead | [email protected] Zend Framework | http://framework.zend.com/ PGP key: http://framework.zend.com/zf-matthew-pgp-key.asc -- List: [email protected] Info: http://framework.zend.com/archives Unsubscribe: [email protected]
