note 79029 added to function.header
| From: | php at md-x dot de | Date: | Wed, 07 Nov 2007 17:49:17 +0000 |
| Subject: | note 79029 added to function.header | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-132084@lists.php.net to get a copy of this message | ||
If you want to serve files to be opend in a separate application (also PDF files displayed in the
Reader and not in the IE Plugin) with the dialog open/save as/cancel :
Don't use the
Content-disposition: attachmet
and
Cache-control: no-cache
header at same time.
Normaly the browser stores the file in a temporary directory and starts the default application for
the mime-type with the path of the file as parameter.
Problem : IE6 doesn't store because of no-cache. So the application (in my case AcrobatReader)
displays the file can't be found.
Greets
Mik
----
Server IP: 212.124.37.9
Probable Submitter: 217.86.134.109
----
Manual Page -- http://www.php.net/manual/en/function.header.php
Edit -- https://master.php.net/note/edit/79029
Del: integrated -- https://master.php.net/note/delete/79029/integrated
Del: useless -- https://master.php.net/note/delete/79029/useless
Del: bad code -- https://master.php.net/note/delete/79029/bad+code
Del: spam -- https://master.php.net/note/delete/79029/spam
Del: non-english -- https://master.php.net/note/delete/79029/non-english
Del: in docs -- https://master.php.net/note/delete/79029/in+docs
Del: other reasons-- https://master.php.net/note/delete/79029
Reject -- https://master.php.net/note/reject/79029
Search -- https://master.php.net/manage/user-notes.php