note 19794 added to function.header
| From: | krabbe at gmx dot de | Date: | Mon, 11 Mar 2002 12:37:03 +0000 |
| Subject: | note 19794 added to function.header | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-27610@lists.php.net to get a copy of this message | ||
One more thing about returning Acrobat .pdf data: A good trick to make IE actually display your
dynamically generated pdf is to make it think your file has a .pdf extension by using you .php
script as a directory, e.g.
http://yourserver.com/generatepdf.php/doc.pdf
Also, specify application/pdf as content-type using header() - then your pdf will be shown inside
the browser window.
--
http://www.php.net/manual/en/function.header.php
http://master.php.net/manage/user-notes.php?action=edit+19794
http://master.php.net/manage/user-notes.php?action=delete+19794
http://master.php.net/manage/user-notes.php?action=reject+19794