note 83219 added to function.header

From: Date: Thu, 15 May 2008 18:51:00 +0000
Subject: note 83219 added to function.header
Groups: php.notes 
Request: Send a blank email to php-notes+get-139417@lists.php.net to get a copy of this message
If you are looking to send files such as PDFs or Excel spreadsheets or Microsoft Office documents and are having issues with IE7, IE6, or IE5.5 not being able to open/download the files over an SSL connection, but still need not allow caching, then set these two headers: <?php header("Cache-Control: maxage=1"); //In seconds header("Pragma: public"); ?> Granted, this will cache your file for one second, but it's as close to an un-cached download as you can get when using IE over SSL. Some basic info on the issue can be found here: http://support.microsoft.com/kb/812935 ---- Server IP: 208.69.120.35 Probable Submitter: 66.166.143.106 ---- Manual Page -- http://www.php.net/manual/en/function.header.php Edit -- https://master.php.net/note/edit/83219 Del: integrated -- https://master.php.net/note/delete/83219/integrated Del: useless -- https://master.php.net/note/delete/83219/useless Del: bad code -- https://master.php.net/note/delete/83219/bad+code Del: spam -- https://master.php.net/note/delete/83219/spam Del: non-english -- https://master.php.net/note/delete/83219/non-english Del: in docs -- https://master.php.net/note/delete/83219/in+docs Del: other reasons-- https://master.php.net/note/delete/83219 Reject -- https://master.php.net/note/reject/83219 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#139417) next »